Package Data | |
---|---|
Maintainer Username: | sidis405 |
Maintainer Contact: | forge405@gmail.com (Sidrit Trandafili) |
Package Create Date: | 2015-09-14 |
Package Last Update: | 2015-09-14 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-22 03:16:32 |
Package Statistics | |
---|---|
Total Downloads: | 127 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 8 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
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.