PHPackages                             fatkulnurk/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. fatkulnurk/session

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

fatkulnurk/session
==================

PHP library for handling sessions

v1.0.0(6y ago)03PHPPHP ^7.2

Since Jan 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/fatkulnurk/session)[ Packagist](https://packagist.org/packages/fatkulnurk/session)[ RSS](/packages/fatkulnurk-session/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)DependenciesVersions (4)Used By (0)

PHP SESSION
===========

[](#php-session)

---

PHP library for handling sessions

### Install

[](#install)

See in packagist

```
https://packagist.org/packages/fatkulnurk/session

```

with composer

```
composer require fatkulnurk/session

```

### Under Development

[](#under-development)

- Get session with nested key
- Set session with Nested Value

### Usage

[](#usage)

**Start session:**

```
Session::init();

```

**Start session by setting the session duration:**

Param in seconds.

```
Session::init(3600);

```

**Add value to a session:**

```
Session::set('name', 'Fatkul Nur Koirudin');

```

**Add multiple value to sessions:**

Unsupport for nested array.

```
$data = [
    'name'     => 'Rudi',
    'gender'   => 'Male',
];

Session::set($data);

```

**Extract session item, delete session item and finally return the item:**

```
Session::pull('name');

```

**Return the session array / Return all session value:**

```
Session::get();

```

**Get session id:**

```
Session::id();

```

**Destroys one key session:**

```
Session::destroy('name');

```

**Destroys all sessions:**

```
Session::destroy();

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Every ~37 days

Total

3

Last Release

2242d ago

Major Versions

v0.1 → v1.0.02020-03-26

### Community

Maintainers

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

---

Top Contributors

[![fatkulnurk](https://avatars.githubusercontent.com/u/12779618?v=4)](https://github.com/fatkulnurk "fatkulnurk (6 commits)")

---

Tags

phpphp-composerphp-librarysessionsession-managementsession-manager

### Embed Badge

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

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

PHPackages © 2026

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