Laravel Query Builder Pilih terlebih dahulu

$user = DB::table('users')->where('name', 'John')->first();

var_dump($user->name);
Upset Unicorn