Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xutl/yii2-yac
yii2 yac cache
https://github.com/xutl/yii2-yac
cache caching php-yac yac yii2 yii2-cache yii2-caching yii2-extension yii2-yac
Last synced: about 2 months ago
JSON representation
yii2 yac cache
- Host: GitHub
- URL: https://github.com/xutl/yii2-yac
- Owner: xutl
- Archived: true
- Created: 2017-03-23T02:52:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-03-23T03:13:11.000Z (over 7 years ago)
- Last Synced: 2024-09-25T20:47:13.894Z (about 2 months ago)
- Topics: cache, caching, php-yac, yac, yii2, yii2-cache, yii2-caching, yii2-extension, yii2-yac
- Language: PHP
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# yii2-yac
yii2 yac cache适用于Yii2的[Yac](https://github.com/laruence/yac)API接口类。
Installation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
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:
```php
return [
//....
'components' => [
'cache' => [
'class' => 'xutl\yac\YacCache',
],
]
];
```资源
-----* [YAC](https://github.com/laruence/yac)