PHPackages                             xp-forge/redis-sessions - 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. xp-forge/redis-sessions

ActiveLibrary[Caching](/categories/caching)

xp-forge/redis-sessions
=======================

Redis Sessions

v2.2.0(1y ago)0301BSD-3-ClausePHPPHP &gt;=7.0.0CI passing

Since Aug 22Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/xp-forge/redis-sessions)[ Packagist](https://packagist.org/packages/xp-forge/redis-sessions)[ Docs](http://xp-framework.net/)[ RSS](/packages/xp-forge-redis-sessions/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (6)Versions (11)Used By (0)

Redis Sessions
==============

[](#redis-sessions)

[![Build status on GitHub](https://github.com/xp-forge/redis-sessions/workflows/Tests/badge.svg)](https://github.com/xp-forge/redis-sessions/actions)[![XP Framework Module](https://raw.githubusercontent.com/xp-framework/web/master/static/xp-framework-badge.png)](https://github.com/xp-framework/core)[![BSD Licence](https://raw.githubusercontent.com/xp-framework/web/master/static/licence-bsd.png)](https://github.com/xp-framework/core/blob/master/LICENCE.md)[![Requires PHP 7.4+](https://raw.githubusercontent.com/xp-framework/web/master/static/php-7_4plus.svg)](http://php.net/)[![Supports PHP 8.0+](https://raw.githubusercontent.com/xp-framework/web/master/static/php-8_0plus.svg)](http://php.net/)[![Latest Stable Version](https://camo.githubusercontent.com/95ea17da82100dd0cb0d174e1cf1da4de672013c191cbef56db862db32898086/68747470733a2f2f706f7365722e707567782e6f72672f78702d666f7267652f72656469732d73657373696f6e732f76657273696f6e2e737667)](https://packagist.org/packages/xp-forge/redis-sessions)

[Redis](https://redis.io/)-based [sessions implementation](https://github.com/xp-forge/sessions).

Example
-------

[](#example)

```
use web\session\{Sessions, InRedis};

$inject->bind(Sessions::class, new InRedis('redis://localhost'));
```

To use authentication, pass it as username in the connection string, e.g. *redis://secret@localhost*.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance61

Regular maintenance activity

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~219 days

Recently: every ~253 days

Total

10

Last Release

479d ago

Major Versions

v0.2.0 → v1.0.02020-04-05

v1.1.1 → v2.0.02024-02-04

PHP version history (2 changes)v0.1.0PHP &gt;=5.6.0

v1.0.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/07d18d882c8b4aaf3466432f64018214f2771eda333202175431ee7233795376?d=identicon)[thekid](/maintainers/thekid)

---

Top Contributors

[![thekid](https://avatars.githubusercontent.com/u/696742?v=4)](https://github.com/thekid "thekid (50 commits)")

---

Tags

php7php8redissession-storagesessionsxp-frameworkmodulexp

### Embed Badge

![Health badge](/badges/xp-forge-redis-sessions/health.svg)

```
[![Health](https://phpackages.com/badges/xp-forge-redis-sessions/health.svg)](https://phpackages.com/packages/xp-forge-redis-sessions)
```

PHPackages © 2026

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