clivern / memcached
Memcached Client for PHP.
Fund package maintenance!
clivern
Requires
- php: >=7.3
Requires (Dev)
- clivern/phpcs: ^1.0
- phpunit/phpunit: 9.5.6
- squizlabs/php_codesniffer: 3.6.0
This package is auto-updated.
Last update: 2024-11-12 15:44:17 UTC
README
Memcached Client for PHP.
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.