sid/laravel-simplecache-middleware
Composer 安装命令:
composer require sid/laravel-simplecache-middleware
包简介
Cache Urls
README 文档
README
Cache Urls
- Very alpha stages. Not unstable but i need to write tests for it.
- If you think it's a good starting point for you, take it.
###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
- Test. Tests. Tests.
Contributing
Contributions are welcome and will be fully credited.
统计信息
- 总下载量: 127
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-14