Igor Simic
2 years ago

Laravel artisan - cache clearing commands

Here is the list of Laravel artisan cache clearing commands:

Clear compiled services and packages!
php artisan clear-compiled

Clear application cache
php artisan cache:clear

Clear cached routes
php artisan route:cache

Clear configuration cache 
php artisan config:cache
Clear compiled views, application cache, route cache, configuration cache, compiled services and packages and caches in one command:
 php artisan optimize:clear