get all table name from database in sql in laravel code example Example: laravel list of tables DB::select('SHOW TABLES')