configuration
Flush all items from the cache store.
php artisan php artisan cache:clear
Syntax
Syntax
php artisan cache:clear
Explanation
Removes all cached data from the configured cache driver (Redis, file, database). Use after deploying code that changes cached data. Safe to run in production.
Example
Example
php artisan cache:clear
Explanation
Removes all cached data from the configured cache driver (Redis, file, database). Use after deploying code that changes cached data. Safe to run in production.