Here is the simple code snippet to get all the tables under the database in laravel framework.
$tables = DB::select('SHOW TABLES'); dd($tables);
Tutorials focused on Web Development, ReactJS, JavaScript, PHP, Database Design, Devops
Here is the simple code snippet to get all the tables under the database in laravel framework.
$tables = DB::select('SHOW TABLES'); dd($tables);