PHPackages                             g4/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. [Caching](/categories/caching)
4. /
5. g4/session

ActiveLibrary[Caching](/categories/caching)

g4/session
==========

session php library

3.1.2(3mo ago)158.4k↓33.3%4MITPHPPHP &gt;=8.3

Since Feb 3Pushed 3mo ago10 watchersCompare

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

READMEChangelog (9)Dependencies (8)Versions (27)Used By (0)

session
=======

[](#session)

> session - [php](http://php.net) library

Install
-------

[](#install)

Via Composer

```
composer require g4/session
```

Usage
-----

[](#usage)

Development
-----------

[](#development)

### Install dependencies

[](#install-dependencies)

```
$ make install

```

### Run tests

[](#run-tests)

```
$ make test

```

License
-------

[](#license)

(The MIT License) see LICENSE file for details...

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance82

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 52.9% 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 ~167 days

Recently: every ~35 days

Total

25

Last Release

95d ago

Major Versions

0.5.0 → 1.0.02018-07-12

1.0.0 → 2.0.02019-01-25

2.3.0 → 3.0.02024-02-11

2.4.1 → 3.1.22026-02-11

PHP version history (5 changes)0.1.0PHP &gt;=5.4

2.0.0PHP &gt;=5.6

3.0.0PHP &gt;=7.3

3.1.1PHP &gt;=8.3

2.4.0PHP ^7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/12ceafbc629c3019d7cd78dfec322d694f44e0df8741bc6044f4acbf99964ff8?d=identicon)[g4code](/maintainers/g4code)

---

Top Contributors

[![gomboc](https://avatars.githubusercontent.com/u/1145653?v=4)](https://github.com/gomboc "gomboc (18 commits)")[![ppavlovic](https://avatars.githubusercontent.com/u/2664974?v=4)](https://github.com/ppavlovic "ppavlovic (8 commits)")[![DarkGit](https://avatars.githubusercontent.com/u/10722199?v=4)](https://github.com/DarkGit "DarkGit (4 commits)")[![sanjamedic](https://avatars.githubusercontent.com/u/13198949?v=4)](https://github.com/sanjamedic "sanjamedic (3 commits)")[![zeljkosbgd](https://avatars.githubusercontent.com/u/4016203?v=4)](https://github.com/zeljkosbgd "zeljkosbgd (1 commits)")

---

Tags

filememcachedsessioncouchbase

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[ihor/cachalot

Cache a lot in a proper way (APC, XCache, Memcached, Redis, Couchbase)

2528.1k](/packages/ihor-cachalot)

PHPackages © 2026

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