It's great, fast and useful ways I found in this wonderful article https://ashallendesign.co.uk/blog/6-quick-and-easy-ways-to-speed-up-your-laravel-websiteto help you make your project as fast as possible. Only fetch the fields you need in your database queries $users = User::all(); foreach($users as $user) { // Do something here } // Now $users = User::select([‘id’, ‘first_name’, ‘last_name’])->get(); foreach($users as $user) { // Do something here }

php artisan route:cache php artisan route:clear php artisan config:cache php artisan config:clear // Caching queries and values $users = DB::table('users')->get(); $users = Cache::remember('users', 120, function () { return DB::table('users')->get(); }); Use the latest version of PHP
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners