Laravel - Query Builder - Skip Take

You may use the skip and take methods to limit the number of results returned from the query or to skip a given number of results in the query:

    
    $users = DB::table('users')->skip(10)->take(5)->get();
	

Alternatively, you may use the limit and offset methods. These methods are functionally equivalent to the take and skip methods, respectively:

    
    $users = DB::table('users')
                    ->offset(10)
                    ->limit(5)
                    ->get();