Answers for "laravel model get table columns"

PHP
1

get table name from model laravel

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

laravel show table columns

Schema::getColumnListing($table);
Posted by: Guest on October-29-2020

Code answers related to "laravel model get table columns"

Browse Popular Code Answers by Language