PHPackages                             igniter/elasticache-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. igniter/elasticache-bundle

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

igniter/elasticache-bundle
==========================

An ElastiCache Bundle for Symfony.

0.2.2(10y ago)34.6k2MITPHPPHP &gt;=5.5

Since Jul 31Pushed 10y ago9 watchersCompare

[ Source](https://github.com/Mixpo/ElastiCacheBundle)[ Packagist](https://packagist.org/packages/igniter/elasticache-bundle)[ Docs](https://github.com/ShopIgniter/ElastiCacheBundle)[ RSS](/packages/igniter-elasticache-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (8)Versions (5)Used By (0)

ElastiCacheBundle
=================

[](#elasticachebundle)

An ElastiCache Bundle for Symfony. This could also be used for Redis Clusters that aren't in ElastiCache as well. To that end, we use typical "master" and "slave" nomenclature instead of ElastiCache's "primary" and "read" node names.

[![Codeship Status for ShopIgniter/ElastiCacheBundle](https://camo.githubusercontent.com/75ebba8d94ba15833eed71b286517895576f51e94fb7fd341028d293ba582850/68747470733a2f2f636f6465736869702e696f2f70726f6a656374732f66626131393863302d663365642d303133312d613437652d3661316263643932353239312f7374617475733f6272616e63683d6d6173746572)](https://codeship.io/projects/27992)[![Coverage Status](https://camo.githubusercontent.com/04c038e0e1e2ac50532b2c1196f6a50d1f8b9d400b4bcb06c5b05caaca67056e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f4d6978706f2f456c61737469436163686542756e646c652f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/Mixpo/ElastiCacheBundle?branch=master)

Installation
------------

[](#installation)

To enable the RedisCache service, add your servers to your parameters.yml.

```
parameters:
    # ...
    cache.redis.servers:
        - { host: primary-write.ng.amazonaws.example.com, port: 6379, master: true, timeout: 5 }
        - { host: primary-read.amazonaws.example.com, port: 6379, timeout: 5 }
        - { host: read-1.amazonaws.example.com, port: 6379, timeout: 5 }

```

### Notes

[](#notes)

The Master host and port come from ElastiCache's Replication Group [Primary Endpoint](http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/Replication.html#Replication.PrimaryEndpoint). Do not use the node's endpoint for writing. Likewise, do not use the Replication Group's Primary Endpoint as a read server. Instead use the primary node's endpoint for reading.

Usage
-----

[](#usage)

To use directly, grab the service from the container.

```
/** @var \Igniter\ElastiCacheBundle\Cache\RedisCache $cache */
$cache = $this->get('igniter.elasticache.rediscache');
$bar = $cache->fetch('foo');
// ...
$cache->save('foo', $bar);

```

To use as a Doctrine Custom Cache Provider, use the following in your config. Using aliases, you can also retrieve the service by this alias out of the container.

```
doctrine_cache:
    aliases:
        cache: my_provider
    custom_providers:
        igniter.elasticache:
            prototype:  "igniter.elasticache.rediscache"
            definition_class: "Igniter\ElastiCacheBundle\DependencyInjection\Definition\RedisCacheDefinition"
    providers:
        my_provider:
            igniter.elasticache:
                namespace: "foo"

```

ToDo
----

[](#todo)

- Support Memcached (with or without AWS' [ElastiCache Cluster Client for PHP](http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/Appendix.PHPAutoDiscoverySetup.html)).
- Configuration validation.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~147 days

Total

4

Last Release

3904d ago

### Community

Maintainers

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

---

Top Contributors

[![jaredm4](https://avatars.githubusercontent.com/u/982083?v=4)](https://github.com/jaredm4 "jaredm4 (6 commits)")[![cyk](https://avatars.githubusercontent.com/u/423755?v=4)](https://github.com/cyk "cyk (1 commits)")[![onewheelskyward](https://avatars.githubusercontent.com/u/314750?v=4)](https://github.com/onewheelskyward "onewheelskyward (1 commits)")

---

Tags

rediscachecachingElasticache

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/igniter-elasticache-bundle/health.svg)

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

###  Alternatives

[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k365.0M3.1k](/packages/symfony-cache)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[kimai/kimai

Kimai - Time Tracking

4.7k8.7k1](/packages/kimai-kimai)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M514](/packages/shopware-core)

PHPackages © 2026

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