DB:table laravel code example
Example 1: laravel create db table
php artisan make:migration create_users_table
Example 2: laravel query builder select first
$user = DB::table('users')->where('name', 'John')->first();
var_dump($user->name);
php artisan make:migration create_users_table
$user = DB::table('users')->where('name', 'John')->first();
var_dump($user->name);