clivern/memcached

Memcached Client for PHP.

Fund package maintenance!
clivern

2.0.0 2021-06-28 20:40 UTC

README

Memcached Client for PHP.

CI Build License Latest Stable Version

Installation

To install the package via composer, use the following:

composer require clivern/memcached

This command requires you to have Composer installed globally.

Usage

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'));

Misc

Changelog

Version 2.0.0:

Drop PHP 7.2 support.

Version 1.1.0:

Support "check and set" Operation.

Version 1.0.0:

Initial Release.

Acknowledgements

© 2019, Clivern. Released under MIT License.

Memcached is authored and maintained by @clivern.