Laravel Artisan Cache Command: The cache:clear Command

The cache:clear command can be used to clear the applications cache files. The command defines an optional store parameter which can be used to change which cache store is cleared. By default the store parameter will be set to whatever value is stored in the cache.default configuration entry (by default this is file).

The following are examples of how to call the cache:clear command:

php artisan cache:clear
php artisan cache:clear file

John Koster

Software developer, writer and Laravel enthusiast.

Join the mailing list to receive awesome blog posts, product updates and more