https://github.com/clivern/memcached
Memcached Client for PHP.
https://github.com/clivern/memcached
caching clivern memcache memcached memcached-clients php php-package php7
Last synced: about 1 month ago
JSON representation
Memcached Client for PHP.
- Host: GitHub
- URL: https://github.com/clivern/memcached
- Owner: Clivern
- License: mit
- Created: 2019-05-05T21:30:42.000Z (about 6 years ago)
- Default Branch: 2.x
- Last Pushed: 2025-04-13T04:53:25.000Z (about 1 month ago)
- Last Synced: 2025-04-17T21:50:05.403Z (about 1 month ago)
- Topics: caching, clivern, memcache, memcached, memcached-clients, php, php-package, php7
- Language: PHP
- Homepage:
- Size: 38.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
Memcached
=========Memcached Client for PHP.
[](https://github.com/Clivern/Memcached/actions/workflows/php.yml)
[](https://packagist.org/packages/clivern/memcached)
[](https://packagist.org/packages/clivern/memcached)Installation
------------To install the package via `composer`, use the following:
```php
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:
```php
$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](https://opensource.org/licenses/mit-license.php).
**Memcached** is authored and maintained by [@clivern](http://github.com/clivern).