ThinkMe / cache by thinkworld

Laravel cache on Aliyun OCS,SASL Memcached
20
1
3
Package Data
Maintainer Username: thinkworld
Maintainer Contact: i@yea.im (test)
Package Create Date: 2015-06-03
Package Last Update: 2015-06-20
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-15 15:15:51
Package Statistics
Total Downloads: 20
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 3
Total Forks: 0
Total Open Issues: 0

Overview

This package is an extension for Laravel5 SASL Memcached You can use the aliyun.com OCS(sasl memcached)

Installation

To composer.json add: "thinkme/cache": "dev-master" and then run composer update thinkme/cache. and

For config/app.php

replace line 'Illuminate\Cache\CacheServiceProvider' with 'ThinkMe\Cache\CacheServiceProvider'

For config/cache.php

	'memcached' => [
		'driver'  => 'saslMemcached',
		'servers' => [
			[
				'host' => '127.0.0.1', 'port' => 11211, 'weight' => 100
			],
		],
	],
    'memcached_sasl' => 'true',
    'memcached_user' => 'FUCKUSER',
    'memcached_pass' => 'FUCKYOU2015',

OK Let's Go!!!

License

This package is open-sourced software licensed under the MIT license