sid/laravel-simplecache-middleware is a Laravel package for cache urls.
It currently has 8 GitHub stars and 127 downloads on Packagist.
Install it with composer require sid/laravel-simplecache-middleware.
Discover more Laravel packages by sid
or browse all Laravel packages to compare alternatives.
Last updated
Cache Urls
###Installation Add to composer.json
"sid/laravel-simplecache-middleware":"dev-master"
Register the service provider by adding in the provider section in config/app.php
'providers' => [
...
Sid\SimpleCache\SimpleCacheServiceProvider::class
...
Just in case
composer dump-autoload
Publish the migration and the config file
php artisan vendor:publish
Add to Kernel.php
'cacheafter' => \Sid\SimpleCache\AfterCacheMiddleware::class,
'cachebefore' => \Sid\SimpleCache\BeforeCacheMiddleware::class,
##Todo
Contributions are welcome and will be fully credited.