PHPackages                             echosong/redis-session - 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. [Database &amp; ORM](/categories/database)
4. /
5. echosong/redis-session

ActiveLibrary[Database &amp; ORM](/categories/database)

echosong/redis-session
======================

An simple Redis session handler

1.0(8y ago)83151[1 issues](https://github.com/Echosong/redis-session-handler/issues)MITPHPPHP &gt;=5.6

Since Aug 17Pushed 8y ago2 watchersCompare

[ Source](https://github.com/Echosong/redis-session-handler)[ Packagist](https://packagist.org/packages/echosong/redis-session)[ RSS](/packages/echosong-redis-session/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

redis-session-handler
=====================

[](#redis-session-handler)

Download and install
--------------------

[](#download-and-install)

install php extension for redis

Composer package
----------------

[](#composer-package)

composer require echosong/redis-session

Basic Usage
-----------

[](#basic-usage)

```
```php

$config =[
       'host'=>'127.0.0.1',
       'port'=> 6379,
       'timeout'=>2,
      'auth'=>'****',
      'database'=>2,
      'prefix' => 'redis_session:'
  ]
session_set_save_handler(new \Echosong\RedisSession\RedisSessionHandler($config), true);
session_start();
$_SESSION['user']= "admin";

```

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

3239d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6124880?v=4)[二胡子](/maintainers/Echosong)[@Echosong](https://github.com/Echosong)

---

Top Contributors

[![Echosong](https://avatars.githubusercontent.com/u/6124880?v=4)](https://github.com/Echosong "Echosong (2 commits)")

### Embed Badge

![Health badge](/badges/echosong-redis-session/health.svg)

```
[![Health](https://phpackages.com/badges/echosong-redis-session/health.svg)](https://phpackages.com/packages/echosong-redis-session)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198628.3k10](/packages/pgvector-pgvector)

PHPackages © 2026

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