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

This package is auto-updated.

Last update: 2024-05-05 06:09:49 UTC


README

Create routes in the project to clear caches.

MethodURIOptional
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
    ]