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

AbandonedArchivedLibrary[Caching](/categories/caching)

mheap/silex-predis
==================

Predis extension for Silex

2.0.0(8y ago)21.0kMITPHPPHP &gt;=7.0

Since Oct 11Pushed 8y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (4)Versions (2)Used By (0)

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

[](#silex-memcache)

[![Build Status](https://camo.githubusercontent.com/f90649083c94538db97e6c770858e41562476ea59815bde644a3a55e3cb02930/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6d686561702f53696c65782d5072656469732e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/mheap/Silex-Predis)

### Requirements

[](#requirements)

This extension only works with *PHP 7.0+* and *Silex 2*. [Version 1.0.0](https://github.com/mheap/Silex-Predis/releases/tag/1.0.0) is compatible with Silex 1.

### Installation

[](#installation)

Install with composer:

```
composer require mheap/silex-predis
```

### Usage

[](#usage)

Before you can use this extension you need to register it with your application. You specify a server to connect to at this point, as well as any other configuration options

```
$app->register(new SilexPredis\PredisExtension(), array(
    'predis.server'  => array(
        'host' => '127.0.0.1',
        'port' => 6379
    ),
    'predis.config'  => array(
        'prefix' => 'predis__'
    )
));
```

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

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

### Running the tests

[](#running-the-tests)

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

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 74.6% 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

Unknown

Total

1

Last Release

3133d ago

### 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 (44 commits)")[![igorw](https://avatars.githubusercontent.com/u/88061?v=4)](https://github.com/igorw "igorw (5 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)")[![mheap](https://avatars.githubusercontent.com/u/59130?v=4)](https://github.com/mheap "mheap (1 commits)")[![romainneutron](https://avatars.githubusercontent.com/u/137574?v=4)](https://github.com/romainneutron "romainneutron (1 commits)")

---

Tags

redispredissilex

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[predis/service-provider

Predis service provider for the Silex microframework

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

Asynchronous version of Predis

366348.4k](/packages/predis-predis-async)[jamescauwelier/psredis

Sentinel client for the popular php redis client

77392.9k5](/packages/jamescauwelier-psredis)[cache/predis-adapter

A PSR-6 cache implementation using Redis (Predis). This implementation supports tags

272.6M13](/packages/cache-predis-adapter)[contributte/redis

Redis client integration into Nette framework

181.6M2](/packages/contributte-redis)[maykonn/codeigniter-predis

The CodeIgniter Redis package

129.3k](/packages/maykonn-codeigniter-predis)

PHPackages © 2026

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