laravel Select by database code example
Example 1: DB::table('users')->get();
$users = DB::table('users')->get();
Example 2: DB::table('users')->get();
DB::select('select * from users ');
$users = DB::table('users')->get();
DB::select('select * from users ');