swiggles / memcache
Memcache driver for Laravel 5
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 49 774
Dependents: 1
Suggesters: 0
Security: 0
Stars: 13
Watchers: 4
Forks: 10
Open Issues: 1
Requires
- php: >=5.4.0
- illuminate/support: ~5.0
Requires (Dev)
- illuminate/cache: ~5.0
- illuminate/session: ~5.0
- mockery/mockery: ~0.9
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-01-20 13:09:58 UTC
README
Laravel 5 Memcache Driver
If you're developing on Windows and you're having trouble setting up Memcached with Laravel.
Developed for using a taggable cache store and testing it locally on a Windows OS.
========
Installation
Make sure you've got both a memcached server and the memcache php extension installed. http://stannesi.blogspot.co.uk/2011/11/how-to-install-memcache-on-xampp.html
Add the package to your composer.json and run composer update.
Update: added Laravel 5 support, not BC
"swiggles/memcache": "~2.0"
Use the below for older versions of laravel 5
"swiggles/memcache": "~1.0"
Add the memcache service provider in app/config/app.php:
'Swiggles\Memcache\MemcacheServiceProvider',
You may now update your config/cache.php config file to use memcache
'default' => 'memcache',
You may now update your config/session.php config file to use memcache
'driver' => 'memcache',
Notice: This memcache driver uses the same config as Memcached
This package originated from https://github.com/igormatkovic/Laravel-4-Memcache. It has been modified to work with Laravel 5.2.
Changes
- [2.0] Laravel 5.2 support added, (not bc)
- [2.0.1] Removed support for PHP 5.4
- [2.0.2] Laravel ~5.0 support added