PHPackages                             seregazhuk/react-cache-memcached - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. seregazhuk/react-cache-memcached

ActiveLibrary[Caching](/categories/caching)

seregazhuk/react-cache-memcached
================================

ReactPHP Memcached Cache implementation

1.0.2(7y ago)4247[1 issues](https://github.com/seregazhuk/php-react-cache-memcached/issues)MITPHPPHP &gt;=7.2

Since Nov 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/seregazhuk/php-react-cache-memcached)[ Packagist](https://packagist.org/packages/seregazhuk/react-cache-memcached)[ Docs](https://github.com/seregazhuk/php-react-cache-memcached)[ RSS](/packages/seregazhuk-react-cache-memcached/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

Memcached cache implementation for react/cache
==============================================

[](#memcached-cache-implementation-for-reactcache)

[![Build Status](https://camo.githubusercontent.com/575e72ee5f1bac26ceeb14206b5d29c987dc76dfe8be2fac36e56751bb86a448/68747470733a2f2f7472617669732d63692e6f72672f7365726567617a68756b2f7068702d72656163742d63616368652d6d656d6361636865642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/seregazhuk/php-react-cache-memcached)

Implementation of [react/cache interface](https://github.com/reactphp/cache) that uses Memcached as a storage.

**Table of Contents**

- [Installation](#installation)
- [Quick Start](#quick-start)

Installation
------------

[](#installation)

Library requires PHP 7.2.0 or above.

The recommended way to install this library is via [Composer](https://getcomposer.org). [New to Composer?](https://getcomposer.org/doc/00-intro.md)

See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.

```
composer require seregazhuk/react-cache-memcached

```

Quick Start
-----------

[](#quick-start)

`React\Cache\CacheInterface` has three simple methods to store, retrieve and remove data:

```
use React\EventLoop\Factory;
use seregazhuk\React\Cache\Memcached\Memcached;

$loop = Factory::create();
$cache = new Memcached($loop);

// store
$cache->set('key', 12345);

// store for a minute
$cache->set('key', 12345, 60);

// retrieve
$cache->get('key')->then(function($value){
    // handle data
});

// ...

// delete
$cache->delete('key');

$loop->run();
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~148 days

Total

3

Last Release

2792d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.6

1.0.2PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/cb0e185b75648fb1c0095795e222f210700b86ae8c575c3cd6dd28a970ae2f34?d=identicon)[seregazhuk](/maintainers/seregazhuk)

---

Top Contributors

[![seregazhuk](https://avatars.githubusercontent.com/u/9959761?v=4)](https://github.com/seregazhuk "seregazhuk (25 commits)")

---

Tags

memcachedmemcached-clientsphpreactphpasyncreactphpcachememcached

### Embed Badge

![Health badge](/badges/seregazhuk-react-cache-memcached/health.svg)

```
[![Health](https://phpackages.com/badges/seregazhuk-react-cache-memcached/health.svg)](https://phpackages.com/packages/seregazhuk-react-cache-memcached)
```

###  Alternatives

[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[tedivm/stash

The place to keep your cache.

9824.8M124](/packages/tedivm-stash)[tedivm/stash-bundle

Incorporates the Stash caching library into Symfony.

841.4M16](/packages/tedivm-stash-bundle)[sabre/cache

Simple cache abstraction layer implementing PSR-16

541.2M3](/packages/sabre-cache)[cache/memcached-adapter

A PSR-6 cache implementation using Memcached. This implementation supports tags

161.9M14](/packages/cache-memcached-adapter)[aplus/cache

Aplus Framework Cache Library

161.6M4](/packages/aplus-cache)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
