Here, we fetch all tables names with prefix from database using laravel DB facade. So if you require to get all tables then you are at right place.
As we can get simply all table lists by following sql query:
In Laravel 5 application we will use same above query by using laravel DB select method. So let's see bellow example:
$tables = \DB::select('SHOW TABLES');
$tables = array_map('current',$tables);
 => ban
 => events
 => log_activities
 => migrations
 => password_resets
 => products
 => tags
 => users
 => youtube_access_tokens
I hope you found your solution....