PHPackages                             evolutionphp/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. [HTTP &amp; Networking](/categories/http)
4. /
5. evolutionphp/session

ActiveLibrary[HTTP &amp; Networking](/categories/http)

evolutionphp/session
====================

HTTP Session

v1.0(1y ago)02MITPHPPHP &gt;=8.2

Since Feb 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/EvolutionPHP/session)[ Packagist](https://packagist.org/packages/evolutionphp/session)[ RSS](/packages/evolutionphp-session/feed)WikiDiscussions main Synced 1mo ago

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

HTTP Session
============

[](#http-session)

PHP Sessions library

Usage
-----

[](#usage)

```
$config = [
    'name' => 'PHPSESSID', //Session Name
    'save_path' => __DIR__.'/session_directory'
];
$session = new \EvolutionPHP\Session\Session();
$session->start($config);
```

Session functions
-----------------

[](#session-functions)

```
$session = new \EvolutionPHP\Session\Session();
$session->start();

//Set
$session->set('user','root');
//Check if session exists
if($session->has('user')){
    echo 'Session exists';
}
//Unset
$session->remove('user');
//Unset all sessions
$session->clear();
//Destroy
$session->destroy();
```

Flash Data
----------

[](#flash-data)

```
$session = new \EvolutionPHP\Session\Session();
$session->start();

//Set
$session->setFlash('user', 'root');
//Check if session exists
if($session->hasFlash('user')){
    echo 'Session exists';
}
//Check if session exists and remove it immediately
if($session->hasFlash('user', true)){
    echo 'Session exists';
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance42

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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

461d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d5a42f2155ba37cd77c46f9e57c613e0c08394b5e2b59e8ff77e0d44adaf907?d=identicon)[EvolutionPHP](/maintainers/EvolutionPHP)

---

Top Contributors

[![aqpdev](https://avatars.githubusercontent.com/u/143758553?v=4)](https://github.com/aqpdev "aqpdev (2 commits)")[![EvolutionPHP](https://avatars.githubusercontent.com/u/106336615?v=4)](https://github.com/EvolutionPHP "EvolutionPHP (1 commits)")

---

Tags

phpsessions

### Embed Badge

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

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

###  Alternatives

[hannesvdvreken/guzzle-debugbar

A Guzzle middleware that logs requests to debugbar's timeline

76410.4k1](/packages/hannesvdvreken-guzzle-debugbar)

PHPackages © 2026

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