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

ActiveLibrary

davidonium/simple-memcached
===========================

07PHP

Since Apr 5Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Davidonium/simple-memcached)[ Packagist](https://packagist.org/packages/davidonium/simple-memcached)[ RSS](/packages/davidonium-simple-memcached/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

SimpleMemcached
===============

[](#simplememcached)

A simple implementation of psr-16 simple-cache using the memcached extension.

For now the you can look at the tests for examples.

This is my first open source project, I will gladly accept any advice you can give me :).

TODO
----

[](#todo)

- Test ttl
- Test multiple key actions on failure because invalid keys
- Find out why keys using "\\n\\t\\f" in double quoted php strings work and don't throw exception

### Install

[](#install)

```
composer require davidonium/simple-memcached
```

### Use

[](#use)

Create a test that looks like this:

```
$memcached = new \Memcached();
$memcached->addServer('127.0.0.1', '11211');
$cache = new \SimpleMemcached\SimpleMemcached($memcached);
$cache->set('lorem', 'ipsum');
$value = $cache->get('lorem'); // ipsum
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a9ac2c22a544c22625624312904d87ecebad4e426f7dc5442050912b90f4816?d=identicon)[Davidonium](/maintainers/Davidonium)

---

Top Contributors

[![Davidonium](https://avatars.githubusercontent.com/u/5597957?v=4)](https://github.com/Davidonium "Davidonium (12 commits)")

### Embed Badge

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

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

PHPackages © 2026

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