Memcached Client for PHP.
To install the package via composer
, use the following:
composer require clivern/memcached
This command requires you to have Composer installed globally.
After adding the package as a dependency, Please read the following:
$memcache = new \Clivern\Memcached\MemcachedClient('127.0.0.1', 11211);
$memcache->add('test_memcache', 'test');
var_dump($memcache->get('test_memcache'));
Version 2.0.0:
Drop PHP 7.2 support.
Version 1.1.0:
Support "check and set" Operation.
Version 1.0.0:
Initial Release.
© 2019, Clivern. Released under MIT License.
Memcached is authored and maintained by @clivern.