PHPackages                             hichxm/session-manager - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hichxm/session-manager

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hichxm/session-manager
======================

Manage your session with different methods.

1.2(8y ago)1411MITPHP

Since Feb 23Pushed 7y ago1 watchersCompare

[ Source](https://github.com/hichxm/session-manager)[ Packagist](https://packagist.org/packages/hichxm/session-manager)[ RSS](/packages/hichxm-session-manager/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (2)Versions (5)Used By (1)

Session Manager
===============

[](#session-manager)

**Session Manager** will allow you to manage the sessions in the enclosure of your application with different methods.

Exemple:
--------

[](#exemple)

```
use Hichxm\SessionManager\Session\PHP_SESSION_MANAGER;
use Hichxm\SessionManager\SessionManager;

$session_method = new PHP_SESSION_MANAGER($options = [
    "name" => "MySuperSessionName", //Cookie name
    "lifetime" => 10, //In second, not millisecond.
    "secure" => true //The cookie sent just if is SSL.
]);
$session = new SessionManager($session_method);

//Start session.
$session->start();

//Set data or different method to set data.
$session->set($key = "id", $value = "1545348");
$session['id'] = 1545348;

//Get data or different method to get data.
$session->get($key = "id");
$session['id'];

//Unset data.
$session->unset($key = "id");
unset($session['id']);

//Stop session.
$session->stop();
```

Full doc
--------

[](#full-doc)

[Documentation.](DOC.md)

License (MIT)
-------------

[](#license-mit)

```
The MIT License (MIT)

Copyright (c) 2018

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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 ~2 days

Total

3

Last Release

3044d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12587585?v=4)[Hichxm'S](/maintainers/Hichxm)[@hichxm](https://github.com/hichxm)

---

Top Contributors

[![hichxm](https://avatars.githubusercontent.com/u/12587585?v=4)](https://github.com/hichxm "hichxm (32 commits)")

---

Tags

7openphpsessionsource

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hichxm-session-manager/health.svg)

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

###  Alternatives

[leanadmin/console-log

consoleLog() for Livewire components

2565.8k](/packages/leanadmin-console-log)

PHPackages © 2026

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