xutl / yii2-yac
The yac extension for the Yii framework
Installs: 44
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.4.0
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2020-01-24 16:38:15 UTC
README
yii2 yac cache
适用于Yii2的YacAPI接口类。
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist xutl/yii2-yac
or add
"xutl/yii2-yac": "~1.0.0"
to the require section of your composer.json
file.
配置
To use this extension, you have to configure the Connection class in your application configuration:
return [ //.... 'components' => [ 'cache' => [ 'class' => 'xutl\yac\YacCache', ], ] ];