Download the PHP package klinson/laravel-cache-response without Composer
On this page you can find all versions of the php package klinson/laravel-cache-response. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download klinson/laravel-cache-response
More information about klinson/laravel-cache-response
Files in klinson/laravel-cache-response
Download klinson/laravel-cache-response
More information about klinson/laravel-cache-response
Files in klinson/laravel-cache-response
Vendor klinson
Package laravel-cache-response
Short Description Laravel请求结果自动缓存中间件,缓存返回数据,适用于接口返回json或其他格式数据
License MIT
Homepage https://github.com/klinson/laravel-cache-response
Package laravel-cache-response
Short Description Laravel请求结果自动缓存中间件,缓存返回数据,适用于接口返回json或其他格式数据
License MIT
Homepage https://github.com/klinson/laravel-cache-response
Please rate this library. Is it a good library?
Informations about the package laravel-cache-response
klinson/laravel-cache-response
描述/Description
Laravel请求结果自动缓存中间件,缓存返回数据,适用于接口返回json或其他格式数据
依赖缓存,缓存驱动必须是
redis
、memcached
安装/Installation
安装包/Install Package
配置/Configuration
- Laravel >= 5.5+, laravel支持 Package Discovery, 可直接使用
-
laravel < 5.5, 需要在
config/app.php
中providers
数组中加入下面一条需要在
config/app.php
中aliases
数组中加入下面一条
发布配置/Publish Configuration
使用/Usage
可以在路由中指定使用cache_response
中间件,也可以在全局配置中进行加入中间件
助手函数cache_response()
清除所有缓存/Clear All Cache
仅在缓存驱动是
redis
、memcached
有效
All versions of laravel-cache-response with dependencies
PHP Build Version
Package Version
The package klinson/laravel-cache-response contains the following files
Loading the files please wait ....