apollopy/laravel-memcached
最新稳定版本:1.3.0
Composer 安装命令:
composer require apollopy/laravel-memcached
包简介
Memcached for Laravel 5.1, with persistent connection and sasl authentication support, compatible with aliyun osc.
关键字:
README 文档
README
Memcached for Laravel, with persistent connection and sasl authentication support, compatible with aliyun osc.
Installation
This service provider must be replace.
// config/app.php 'providers' => [ // Illuminate\Cache\CacheServiceProvider::class, ApolloPY\Memcached\CacheServiceProvider::class, ]
edit the cache config
// config/cache.php 'memcached' => [ 'driver' => 'memcached', 'servers' => [ [ 'host' => '127.0.0.1', 'port' => 11211, 'weight' => 100, ], ], 'persistent_id' => 'you persistent id', 'username' => 'you username', 'password' => 'you password', 'options' => [ // optional Memcached::OPT_COMPRESSION => false, Memcached::OPT_BINARY_PROTOCOL => true, ... ], 'check_version' => false, // optional, default true ],
统计信息
- 总下载量: 8.46k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-01-20