Download the PHP package tobya/clearallcache without Composer
On this page you can find all versions of the php package tobya/clearallcache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tobya/clearallcache
More information about tobya/clearallcache
Files in tobya/clearallcache
Package clearallcache
Short Description Clears more than just default Cache driver
License MIT
Homepage https://github.com/tobya/clearallcache
Informations about the package clearallcache
Clears more than just default Cache driver
Most applications use a single cache, we can decide between database, file, redis and many more,
however, some applications require multiple caches to function correctly. If you simply run cache:clear you
will clear the default cache but not any others which can cause confusion in development and problems in production.
cache:clearall will clear all your caches stores that you are using.
Installation
You can install the package via composer:
Usage
add additional caches that are in use and should be cleared to /config/cache.php
Then call command
This will first call cache:clear clearing the default cache and then clear any cache stores listed in the stores_in_use
key in your cache.php config file.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
- Toby Allen
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of clearallcache with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0