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

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

dframe/session
==============

Session component Dframe

v4.1.8(5y ago)01143MITPHPPHP &gt;=7.3

Since Aug 25Pushed 3y ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (10)Used By (3)

Dframe/Sesssion - Component
===========================

[](#dframesesssion---component)

[![Build Status](https://camo.githubusercontent.com/76beb0f7acfe68e98bb7f99bd7d4daf7733cbb5b07180833be42e0086ac9667e/68747470733a2f2f7472617669732d63692e6f72672f646672616d652f73657373696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dframe/session) [![Latest Stable Version](https://camo.githubusercontent.com/87542ee4c183d6c35e0d52d266bac217e385a3f478fb1815c7919c1c1cbf5d4c/68747470733a2f2f706f7365722e707567782e6f72672f646672616d652f73657373696f6e2f762f737461626c65)](https://packagist.org/packages/dframe/session) [![Total Downloads](https://camo.githubusercontent.com/0b4c8abfc4c6cfb00bd31662e382ff3699f13643ad729584968765fede87f2de/68747470733a2f2f706f7365722e707567782e6f72672f646672616d652f73657373696f6e2f646f776e6c6f616473)](https://packagist.org/packages/dframe/session) [![Latest Unstable Version](https://camo.githubusercontent.com/40aad5953f7124e452a6359ae1d4bb384d585eae462c87938c958a3066bf31c1/68747470733a2f2f706f7365722e707567782e6f72672f646672616d652f73657373696f6e2f762f756e737461626c65)](https://packagist.org/packages/dframe/session) [![License](https://camo.githubusercontent.com/cb64961af569636918c8737348b8d6b7e4ded44460a6dc43b91dc010b9cc647e/68747470733a2f2f706f7365722e707567782e6f72672f646672616d652f73657373696f6e2f6c6963656e7365)](https://packagist.org/packages/dframe/session)

[![php framework dframe logo](https://camo.githubusercontent.com/fd0e41a4616aeae28318df2698482c0f1538928857ff531019f4481606ff8d2b/68747470733a2f2f646672616d656672616d65776f726b2e636f6d2f696d672f6c6f676f5f66756c6c2e706e67)](https://camo.githubusercontent.com/fd0e41a4616aeae28318df2698482c0f1538928857ff531019f4481606ff8d2b/68747470733a2f2f646672616d656672616d65776f726b2e636f6d2f696d672f6c6f676f5f66756c6c2e706e67)

### Documentation - [Session PHP](https://dframeframework.com/en/docs/dframe/master/session/overview)

[](#documentation---session-php)

### Composer

[](#composer)

```
$ composer require dframe/session
```

### Standalone

[](#standalone)

```
$this->session = new \Dframe\Session\Session('name');
$session = new \Dframe\Session\Session('HashSaltRandomForSession');
$session->register();                        // Set session_id and session_time - default 60
$session->authLogin();                        // Return true/false if session is registered
$session->set($key, $value);                   // set $_SESSION[$key] = $value;
$session->get($key, $or = null);                // get $_SESSION[$key];
$session->remove($key);                       // unset($_SESSION[$key]);
$session->end();                            // session_destroy
```

License
-------

[](#license)

Open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

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

Total

9

Last Release

2077d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/954f9b5cd3e021b52a7bb0cabe07b2d7763edf98485fe47cccf835124d79205c?d=identicon)[dusta](/maintainers/dusta)

---

Top Contributors

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

---

Tags

dframephp messages

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[illuminate/contracts

The Illuminate Contracts package.

704122.9M10.1k](/packages/illuminate-contracts)[phiki/phiki

Syntax highlighting using TextMate grammars in PHP.

3573.0M23](/packages/phiki-phiki)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[flow-php/etl

PHP ETL - Extract Transform Load - Abstraction

374468.4k51](/packages/flow-php-etl)[gehrisandro/tailwind-merge-php

TailwindMerge for PHP merges multiple Tailwind CSS classes by automatically resolving conflicts between them

1391.5M9](/packages/gehrisandro-tailwind-merge-php)[bakame/laravel-domain-parser

Laravel package to integrate PHP Domain parser.

26534.8k4](/packages/bakame-laravel-domain-parser)

PHPackages © 2026

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