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

xutl/yii2-yac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

资源