PHPackages                             clivern/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. clivern/memcached

ActiveLibrary[Caching](/categories/caching)

clivern/memcached
=================

Memcached Client for PHP.

2.0.0(4y ago)2651↓50%[1 issues](https://github.com/Clivern/Memcached/issues)[4 PRs](https://github.com/Clivern/Memcached/pulls)MITPHPPHP &gt;=7.3CI failing

Since May 5Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/Clivern/Memcached)[ Packagist](https://packagist.org/packages/clivern/memcached)[ Docs](https://github.com/clivern/memcached)[ GitHub Sponsors](https://github.com/clivern)[ RSS](/packages/clivern-memcached/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (10)Used By (0)

Memcached
=========

[](#memcached)

Memcached Client for PHP.

[![CI Build](https://github.com/Clivern/Memcached/actions/workflows/php.yml/badge.svg)](https://github.com/Clivern/Memcached/actions/workflows/php.yml)[![License](https://camo.githubusercontent.com/5f00b35843c32c4d37dfe7a8de4afe17f7bc983fff8250e7acf5140e3e56f55c/68747470733a2f2f706f7365722e707567782e6f72672f636c697665726e2f6d656d6361636865642f6c6963656e73652e737667)](https://packagist.org/packages/clivern/memcached)[![Latest Stable Version](https://camo.githubusercontent.com/0d3ddfafaadb9cead2bba90a5d7b247352741f219a2ed4855480c4cc5b43ec9f/68747470733a2f2f706f7365722e707567782e6f72672f636c697665726e2f6d656d6361636865642f762f737461626c652e737667)](https://packagist.org/packages/clivern/memcached)

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

[](#installation)

To install the package via `composer`, use the following:

```
composer require clivern/memcached
```

This command requires you to have Composer installed globally.

Usage
-----

[](#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
====

[](#misc)

Changelog
---------

[](#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
----------------

[](#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).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance45

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~296 days

Total

4

Last Release

1680d ago

Major Versions

1.1.0 → 2.0.02021-06-28

PHP version history (3 changes)1.0.0PHP &gt;=5.6

1.1.0PHP &gt;=7.2

2.0.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/6972371682cd4255285c19cb35f05151468506019b13374b14f305f5926107d6?d=identicon)[clivern](/maintainers/clivern)

---

Top Contributors

[![Clivern](https://avatars.githubusercontent.com/u/1634427?v=4)](https://github.com/Clivern "Clivern (9 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (6 commits)")

---

Tags

cachingclivernmemcachememcachedmemcached-clientsphpphp-packagephp7clientcachingmemcachedclivern

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/clivern-memcached/health.svg)

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

###  Alternatives

[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)[clickalicious/phpmemadmin

phpMemAdmin - Bringing Memcached to the web

5076.0k](/packages/clickalicious-phpmemadmin)[jamm/memory

Key-value storage in memory. As a storage can be used: APC, Redis, Memcache, Shared memory. All storage objects have one interface, so you can switch them without changing the working code. Contains PHP Redis client.

13326.3k1](/packages/jamm-memory)[alekseykorzun/memcached-wrapper-php

Optimized PHP 5 wrapper for Memcached extension that supports dog-piling, igbinary and local storage

2984.6k1](/packages/alekseykorzun-memcached-wrapper-php)[clickalicious/memcached.php

Memcached.php - Plain vanilla PHP Memcached client with full support of Memcached protocol.

2973.7k5](/packages/clickalicious-memcachedphp)

PHPackages © 2026

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