mcfedr/memcached-bundle
Symfony bundle that integrates the Memcached PHP extension, providing a preconfigured Memcached client service and simple bundle configuration. Drop it into your Symfony app to use Memcached for caching or sessions without boilerplate wiring.
memcached PHP extension — nothing more. It supports the decision to add a distributed in-memory cache in front of a read-heavy database without standing up Redis, and to do it with a few lines of service config rather than a bespoke integration.Adopt only under a narrow, largely legacy set of conditions:
memcached extension already compiled and installed, and you want the minimum viable service wiring.memcached extension's own API has moved since.Look elsewhere — and by default, assume you will — when any of the following hold:
symfony/cache ships a first-class MemcachedAdapter; the bundle is functionally superseded by the framework it was written for.Executive framing: We evaluated this as a candidate for adding a distributed cache to reduce database load and page latency. It is not a capability — it is a configuration convenience wrapping the standard PHP memcached extension, and a Symfony-specific one at that. It carries no licensing cost (MIT) but also no maintenance: zero stars, zero downstream dependents, and no release since 2016. Recommendation: decline for new work. For a Laravel stack it is simply inapplicable — the framework's built-in cache store already delivers the same outcome. For a legacy Symfony stack, the framework's own MemcachedAdapter is the maintained equivalent.
Engineering framing: The value here is roughly a service definition and a server-pool config block. We can reproduce that in-house in under a day, with our own compatibility testing, and keep our dependency surface clean. If a specific legacy service genuinely needs it, we vendor and pin it behind an explicit owner rather than pulling it from Packagist. Net position: treat this repository as a reference implementation to read, not a dependency to install — it is a useful illustration of the minimum viable memcached wiring and a useful reminder of why thin wrappers around C extensions are best owned in-house.
How can I help you explore Laravel packages today?