ripples/memcached-sasl
最新稳定版本:0.1.1
Composer 安装命令:
composer require ripples/memcached-sasl
包简介
Custom cache extension of memcached sasl for laravel5, support aliyun ocs.
README 文档
README
This is a custom cache extension of memcached sasl for laravel5, especially for aliyun ocs.
Installation
This package can be installed through composer.
composer require ripples/memcached-sasl
Usage
In order to use the extension, the service provider must be registered.
// bootstrap/app.php $app->register(Ripples\Memcached\MemcachedSaslServiceProvider::class);
Finally, add a store to you config file cache.php and update cache driver to memcached_sasl.
return [ 'default' => 'memcached_sasl', 'stores' => [ 'memcached_sasl' => [ 'driver' => 'memcached_sasl', 'servers' => [ [ 'host' => env('MEMCACHED_HOST', '127.0.0.1'), 'port' => env('MEMCACHED_PORT', 11211), 'weight' => 100 ] ], 'auth' => [ 'username' => env('MEMCACHED_USERNAME', ''), 'password' => env('MEMCACHED_PASSWORD', '') ] ], ] ]
LICENSE
统计信息
- 总下载量: 54
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-23