Laravel Cache How to Clear

9 Mar

Laravel cache is very useful feature but sometime we need clear it.
Real full tutorials about cache here
Below commands can be used to clear all cache in laravel.
Some we can face some issues in laravel like.
we have changed the view but changes are not reflecting on view.
We have installed a new package but config is not working.
We have created a route but not working.

If any one face this type of issue we should clear all cache from laravel.

php artisan config:cache
php artisan view:clear
php artisan route:cache
php artisan cache:clear


Leave a Reply

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