yii2-extension yii2-simple-cache-adapter
wearesho-team/yii2-simple-cache-adapter
- Tuesday, June 5, 2018
- by Horat1us
- Repository
- 2 Watchers
- 0 Stars
- 1 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
Yii2 SimpleCache adapter
, (*1)
An Adapter for SimpleCache (PSR-16) to Yii2 cache, (*2)
This library originally developed by devonliu02,
now maintained by Wearesho Team, (*3)
Installation
composer require wearesho-team/yii2-simple-cache-adapter
Usage
<?php
use Wearesho\SimpleCache;
$adapter = new SimpleCache\Adapter; // will use \Yii::$app->cache by default
$customAdapter = new SimpleCache\Adapter([
'cache' => [
'class' => \yii\caching\ArrayCache::class, // or your custom \yii\caching\CacheInterface implementation
],
]);
Contributors
License
MIT, (*4)
dev-master
9999999-dev
Sources
Download
MIT
The Requires
The Development Requires
by
Devon Liu
by
Alexander Letnikow
1.0.1
1.0.1.0
Sources
Download
MIT
The Requires
The Development Requires
by
Devon Liu
by
Alexander Letnikow
1.0.0
1.0.0.0
Sources
Download
MIT
The Requires
The Development Requires
by
Devon Liu
by
Alexander Letnikow