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)83111[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 2d 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 59% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity18

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

3192d 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

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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