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

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

mcfedr/memcached-bundle
=======================

The smallest, simplest memcached bundle

2.1.1(9y ago)02.4kMITPHPPHP &gt;=5.5

Since May 23Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mcfedr/memcached-bundle)[ Packagist](https://packagist.org/packages/mcfedr/memcached-bundle)[ RSS](/packages/mcfedr-memcached-bundle/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)Dependencies (2)Versions (6)Used By (0)

Memcached Bundle
================

[](#memcached-bundle)

This is going to be the simplest bundle you have ever seen for memcached

[![Latest Stable Version](https://camo.githubusercontent.com/8465f7d90a4eadec751352e3c12540da827361ed9c39ef433e5a84d8f95806f8/68747470733a2f2f706f7365722e707567782e6f72672f6d63666564722f6d656d6361636865642d62756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/mcfedr/memcached-bundle)[![License](https://camo.githubusercontent.com/b68683b82660fafaee12e0fb4db5a5dc190c7ad1b68862e0ac49cb3145f4bb2b/68747470733a2f2f706f7365722e707567782e6f72672f6d63666564722f6d656d6361636865642d62756e646c652f6c6963656e73652e706e67)](https://packagist.org/packages/mcfedr/memcached-bundle)[![Build Status](https://camo.githubusercontent.com/ebd3b146d5416deb268fe6d17c424e2716e8a92bf1ae055fc1ad1446a1539bd5/68747470733a2f2f7472617669732d63692e6f72672f6d63666564722f6d656d6361636865642d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mcfedr/memcached-bundle)[![SensioLabsInsight](https://camo.githubusercontent.com/511d6d46c1c22462c1ee601459be03475647d4ec642eae5ddf3c97f6e4b37ee9/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f31326165376133662d616664322d343462652d393734352d3262623964303135636665312f6d696e692e706e67)](https://insight.sensiolabs.com/projects/12ae7a3f-afd2-44be-9745-2bb9d015cfe1)

Install
-------

[](#install)

- `composer require mcfedr/memcached-bundle`
- Update your Kernel

    `new Mcfedr\MemcachedBundle\McfedrMemcachedBundle()`

Configuration
-------------

[](#configuration)

You can setup as many memcached connections as you need, although most of the time one is enough. You need to have at least one server for each connection.

Optionally you can make a connection persistent, this is recommended for better performance.

```
mcfedr_memcached:
    connections:
        main:
            persistent_id: main
            servers:
                - host: 127.0.0.1
                  port: 11211
        other:
            servers:
                - host: 10.0.0.10
                  port: 11211
                - host: 10.0.0.11
                  port: 11211
                - host: 10.0.0.12
                  port: 11211

```

Each connection will be available as a service called `"mcfedr_memcached.$name"`. So in the example there are two services:

1. `mcfedr_memcached.main`
2. `mcfedr_memcached.other`

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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 ~210 days

Total

5

Last Release

3539d ago

Major Versions

1.0.1 → 2.0.02014-10-15

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

2.1.1PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/7039999f29a83140d61116032ec1684c752412e458ad1999e15eea2f8808498c?d=identicon)[mcfedr](/maintainers/mcfedr)

---

Top Contributors

[![mcfedr](https://avatars.githubusercontent.com/u/704356?v=4)](https://github.com/mcfedr "mcfedr (21 commits)")

---

Tags

symfonymemcachedsessionmemcache

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[tedivm/stash-bundle

Incorporates the Stash caching library into Symfony.

841.4M16](/packages/tedivm-stash-bundle)[ihor/cachalot

Cache a lot in a proper way (APC, XCache, Memcached, Redis, Couchbase)

2528.1k](/packages/ihor-cachalot)[jrschumacher/symfony-redis-session-handler

Redis Session Handler Symfony HttpFoundation Component

1261.1k](/packages/jrschumacher-symfony-redis-session-handler)

PHPackages © 2026

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