laravel eloquent take vs limit code example Example: limit laravel $posts = Post::all()->limit(10)->get();