klingenfus / laravel-clear-cache
There is no license information available for the latest version (1.0.5) of this package.
Clear all cache laravel
1.0.5
2019-06-04 18:32 UTC
Requires
- php: >=7.0
- illuminate/contracts: >=5.4
- illuminate/database: >=5.4
- illuminate/http: >=5.4
- illuminate/support: >=5.4
README
Create routes in the project to clear caches.
Method | URI | Optional |
---|---|---|
GET | /clear/all/{cache?} | create route cache set /1 |
GET | /clear/cache | - |
GET | /clear/clear-compiled | - |
GET | /clear/config | - |
GET | /clear/route | - |
GET | /clear/route_cache | - |
GET | /clear/view | - |
Installing Laravel Clear Cache
The recommended way to install is through Composer
Run the Composer command to install the latest stable version:
php composer require klingenfus/laravel-clear-cache
Optional or Laravel Version < 5.4
After an installation, you need configuration providers:
- open the [config/app.php] and add providers
'providers' => [ ... \ClearCache\CodeClear\Providers\CodeClearServiceProvider::class ]