display most searched post laravel code example Example: Display Popular Posts laravel $trending = app('App\Services\Trending')->week();