How to remove Laravel cache

Posted on December 4, 2018 by Suresh Kamrushi in PHP

Clearing Laravel application cache using artisan commands is very easy to do. Sometimes it is very difficult to see changes on web pages due to the caching mechanism in our application specifically while development. So here I am sharing a few commands that will help you remove the cache from your application:
1) Clearing Application Cache

php artisan cache:clear

2) Clearing route cache:

php artisan route:cache

3) Clearing view cache:

php artisan view:clear

4) Clearing config cache:

php artisan config:cache

5) Clearing Cache facade value:

php artisan cache:clear