apply limit on laravel get results code example Example: limit laravel $posts = Post::all()->limit(10)->get();