Skip to content
This repository has been archived by the owner on Mar 10, 2018. It is now read-only.

Latest commit

 

History

History
45 lines (31 loc) · 708 Bytes

README.md

File metadata and controls

45 lines (31 loc) · 708 Bytes

yii2-yac

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',
        ],
    ]
];

资源