Answers for "How to get table name and table column names from model in Laravel 5"

PHP
4

laravel model tablename

protected $table = 'DomainRelatedSettings';
Posted by: Guest on January-07-2021
1

get table name from model laravel

$item = new Item;
$table = $item->getTable();
print_r($table);
Posted by: Guest on October-11-2020

Code answers related to "How to get table name and table column names from model in Laravel 5"

Browse Popular Code Answers by Language