get all table name in laravel code example
Example 1: get table name from model laravel
$item = new Item;
$table = $item->getTable();
print_r($table);
Example 2: laravel list of tables
DB::select('SHOW TABLES')
$item = new Item;
$table = $item->getTable();
print_r($table);
DB::select('SHOW TABLES')