Noting Found

View all related articles

Essential Commands to run with every laravel application in production

Snippets 1 min read

After Deploying Your Laravel Application to the production server, don't forget to run these commands for better performance:

To cache the config, routes and files run

1php artisan optimize


1php artisan route:cache
2php artisan view:cache
3php artisan config:cache

To cache Events:

1php artisan event:cache

Happy Coding!

Related Tags

About the Author

Oussama's Profile Picture
Full Stack Web Developer | Technical Writer

Oussama is an experienced full-stack web developer with a strong focus on Laravel. He's passionate about crafting web applications with Filament and the TALL Stack. With 8+ years of experience, and he's a dedicated open-source contributor.


Join our newsletter

Subscribe to Our Newsletter and never miss our offers, latest news, Articles, etc.

We care about the protection of your data. Read our Privacy Policy.