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

ActiveSymfony-bundle[Caching](/categories/caching)

isl/memcached-bundle
====================

Smyfony Bundle which provides integration for Memcached

05PHP

Since Nov 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/BenjaminLeibinger/MemcachedBundle)[ Packagist](https://packagist.org/packages/isl/memcached-bundle)[ RSS](/packages/isl-memcached-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

IslMemcachedBundle
==================

[](#islmemcachedbundle)

This Symfony Bundle provide Memcached integration into Symfony. It provides the configured pools as Singleton.

The Bundle is inpsired by:

### Requirements

[](#requirements)

- php 5.4
- memcached 1.4 or higher
- php-memcached 2.1 or higher

### Installation

[](#installation)

To install IslMemcachedBundle with Composer just add the following to your 'composer.json' file:

```
{
    require: {
        "isl/memcached-bundle": "*",
        ...
    }
}

```

The next thing you should do is install the bundle by executing the following command:

```
php composer.phar update isl/memcached-bundle

```

Finally, add the bundle to the registerBundles function of the AppKernel class in the 'app/AppKernel.php' file:

```
public function registerBundles()
{
    $bundles = array(
        ...
        new Isl\MemcachedBundle\IslMemcachedBundle(),
        ...
    );

```

Install the following dependencies (in Debian based systems using 'apt'):

```
apt-get install memcached php5-memcached

```

Do not forget to restart you web server after adding the Memcache module.

### Configuration

[](#configuration)

Below you can see an example configuration for this bundle.

```
isl_memcached:
    pools:
        default:
            servers:
                - { host: 10.0.0.1, port: 11211, weight: 15 }
                - { host: 10.0.0.2, port: 11211, weight: 30 }
        pool2:
            servers:
                - { host: 10.0.0.3, port: 11211, weight: 15 }
```

### Usage

[](#usage)

$memcache = $this-&gt;get('isl.memcached')-&gt;getInstance('defaultpool', "persistentId optional");

$memcache-&gt;set('foo', 'bar'); $memcache-&gt;get('foo');

### ADP: Anti Dog Pile

[](#adp-anti-dog-pile)

Based on:

The methods are modified to work with memcached extension.

### License

[](#license)

This bundle is under the MIT license.

###  Health Score

20

—

LowBetter than 13% 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/65327d5ffaa0bb1954805afba6e289e9f9d528a2d87fd9e4d3b9ac41395c1613?d=identicon)[bl@is-leibinger.de](/maintainers/bl@is-leibinger.de)

---

Top Contributors

[![BenjaminLeibinger](https://avatars.githubusercontent.com/u/15154967?v=4)](https://github.com/BenjaminLeibinger "BenjaminLeibinger (1 commits)")

### Embed Badge

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

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

###  Alternatives

[beryllium/cachebundle

Provides an interface to Memcache for Symfony2 applications

32136.0k](/packages/beryllium-cachebundle)

PHPackages © 2026

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