PHPackages                             drupal/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. drupal/predis

ActiveDrupal-module

drupal/predis
=============

0.1(11y ago)03.4kPHP

Since Jul 13Pushed 11y ago1 watchersCompare

[ Source](https://github.com/dmouse/predis)[ Packagist](https://packagist.org/packages/drupal/predis)[ RSS](/packages/drupal-predis/feed)WikiDiscussions 8.x-1.x Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Predis module
=============

[](#predis-module)

This module provides a service connection to Redis using Predis library, this module only provides a service to be used in other modules.

### How to install

[](#how-to-install)

This module need predis in the root composer.json

```
$ composer require predis/predis:~0.8.0
```

### How to use

[](#how-to-use)

```
# my_module.services.yml
services:
  my_module.connection:
    class: Drupal\my_module\Connection
    arguments: ['@predis.connection']
```

```
use Drupal\predis\RedisConnectionInterface;
// ...
public function __construct(RedisConnectionInterface $redis) {
  $this->redis = $redis->getConnection();
}
// ...
```

#### Related modules:

[](#related-modules)

-
- [https://www.drupal.org/project/redis\_queue](https://www.drupal.org/project/redis_queue)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4326d ago

### Community

Maintainers

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

---

Top Contributors

[![dmouse](https://avatars.githubusercontent.com/u/198571?v=4)](https://github.com/dmouse "dmouse (27 commits)")

### Embed Badge

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

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

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[teamtnt/tntsearch

A fully featured full text search engine written in PHP

3.2k3.0M28](/packages/teamtnt-tntsearch)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[pdffiller/qless-php

PHP Bindings for qless

29113.2k1](/packages/pdffiller-qless-php)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)

PHPackages © 2026

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