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

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

dmitrymomot/php-session
=======================

Simple package for work with sessions

v1.0.1(12y ago)569311MITPHPPHP &gt;=5.3.0

Since Apr 26Pushed 12y ago1 watchersCompare

[ Source](https://github.com/dmitrymomot/php-session)[ Packagist](https://packagist.org/packages/dmitrymomot/php-session)[ RSS](/packages/dmitrymomot-php-session/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (4)Used By (1)

php-session
===========

[](#php-session)

Simple package for work with sessions

Installation
------------

[](#installation)

This package is available via Composer:

```
{
    "require": {
        "dmitrymomot/php-session": "1.*"
    }
}
```

Example of usage
----------------

[](#example-of-usage)

```
// Set driver for session
// available: native, cookie
// as default - native
Session::$default = 'deriver_name'

// set session
Session::instance()->set('session_name', 'session value');

// get session
Session::instance()->get('session_name', 'default value');

// delete session
Session::instance()->set('session_name', 'session value');
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/dmitrymomot/php-session/blob/master/LICENSE) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

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

Total

2

Last Release

4389d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc65d100707fbcb8bd589b361245b702ade74480ccfd2a963b1f1672484f2e28?d=identicon)[dmitrymomot](/maintainers/dmitrymomot)

---

Top Contributors

[![dmitrymomot](https://avatars.githubusercontent.com/u/2080279?v=4)](https://github.com/dmitrymomot "dmitrymomot (13 commits)")

### Embed Badge

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

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

PHPackages © 2026

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