inserting a single value in table using laravel query builder code example Example: DB::table('users')->get(); $users = DB::table('users')->get();