foreach(DB::select('SHOW TABLES') as $table) { $all_table_names = get_object_vars($table); Schema::drop($all_table_names[key($all_table_names)]); }