How to clear cache in Laravel through commandline

Laravel is a free, open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller architectural pattern.

This article explains the steps to clear cache for Laravel applications through commandline.

Step1: Change the locatoin to application folder

Step2: Clear Application Cache

php artisan cache:clear

Step3: Clear route cache

php artisan route:clear

Step4: Clear config cache

php artisan config:clear

Step5: Clear compiled view files

php artisan view:clear

That's all.......

Leave a Reply

Your email address will not be published. Required fields are marked *