PHPackages                             mheap/silex-memcache - 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. mheap/silex-memcache

AbandonedArchivedLibrary[Caching](/categories/caching)

mheap/silex-memcache
====================

Memcache extension for Silex

2.0.0(8y ago)2486.9k↓41.7%92MITPHPPHP &gt;=7.0

Since Dec 8Pushed 8y ago3 watchersCompare

[ Source](https://github.com/mheap/Silex-Memcache)[ Packagist](https://packagist.org/packages/mheap/silex-memcache)[ Docs](https://github.com/mheap/Silex-Memcache)[ RSS](/packages/mheap-silex-memcache/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (2)

Silex-Memcache
==============

[](#silex-memcache)

[![Build Status](https://camo.githubusercontent.com/9de8065d06733645d653453a0a8cd765f3ea2c1873391fbbceeb4c371f8c4e5b/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6d686561702f53696c65782d4d656d63616368652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/mheap/Silex-Memcache)

### Requirements

[](#requirements)

This extension only works with *PHP 7.1+*, *Silex 2* and the *Memcached* driver. [Version 1.0.0](https://github.com/mheap/Silex-Memcache/releases/tag/1.0.0) is compatible with Silex 1 and both the Memcache/Memcached drivers.

### Installation

[](#installation)

Install with composer:

```
composer require mheap/silex-memcache
```

### Usage

[](#usage)

Before you can use this extension you need to register it with your application. You can specify a list of servers to connect to at this point

```
$app->register(new SilexMemcache\MemcacheExtension(), array(
    'memcache.server' => array(
        array('127.0.0.1', 11211)
    )
));
```

Once the extension is registered, it'll be available as `$app['memcache']`:

```
$app->get('/', function() use($app) {
    $app['memcache']->set('my_value', 'This is an example');
    $value = $app['memcache']->get('my_value');
});
```

### Running the tests

[](#running-the-tests)

You'll need memcached running on port `11211` locally to run the tests. If you don't have memcached installed you can run `docker-compose up` to run it in a container instead.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.4% 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 ~665 days

Total

2

Last Release

3148d ago

Major Versions

1.0.0 → 2.0.02017-10-04

PHP version history (2 changes)1.0.0PHP &gt;=5.3.0

2.0.0PHP &gt;=7.0

### Community

Maintainers

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

---

Top Contributors

[![sveneisenschmidt](https://avatars.githubusercontent.com/u/62278?v=4)](https://github.com/sveneisenschmidt "sveneisenschmidt (41 commits)")[![mheap](https://avatars.githubusercontent.com/u/59130?v=4)](https://github.com/mheap "mheap (13 commits)")[![igorw](https://avatars.githubusercontent.com/u/88061?v=4)](https://github.com/igorw "igorw (6 commits)")[![gfleury](https://avatars.githubusercontent.com/u/7529818?v=4)](https://github.com/gfleury "gfleury (4 commits)")[![korstiaan](https://avatars.githubusercontent.com/u/902842?v=4)](https://github.com/korstiaan "korstiaan (3 commits)")[![robo47](https://avatars.githubusercontent.com/u/110477?v=4)](https://github.com/robo47 "robo47 (3 commits)")[![jwpage](https://avatars.githubusercontent.com/u/52687?v=4)](https://github.com/jwpage "jwpage (2 commits)")[![romainneutron](https://avatars.githubusercontent.com/u/137574?v=4)](https://github.com/romainneutron "romainneutron (1 commits)")[![ericthelin](https://avatars.githubusercontent.com/u/198855?v=4)](https://github.com/ericthelin "ericthelin (1 commits)")

---

Tags

silexmemcache

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/mheap-silex-memcache/health.svg)

```
[![Health](https://phpackages.com/badges/mheap-silex-memcache/health.svg)](https://phpackages.com/packages/mheap-silex-memcache)
```

###  Alternatives

[sabre/cache

Simple cache abstraction layer implementing PSR-16

541.2M3](/packages/sabre-cache)[predis/service-provider

Predis service provider for the Silex microframework

68546.6k1](/packages/predis-service-provider)[kuikui/memcache-service-provider

Memcache integration for Silex.

1231.6k](/packages/kuikui-memcache-service-provider)[robinn/phpcacheadmin

A web dashboard for your favorite caching system.

4441.1k1](/packages/robinn-phpcacheadmin)[moust/silex-cache

Cache service provider for Silex application

33138.4k1](/packages/moust-silex-cache)[beryllium/cachebundle

Provides an interface to Memcache for Symfony2 applications

32135.8k](/packages/beryllium-cachebundle)

PHPackages © 2026

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