PHPackages                             drago-ex/sessions - 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. drago-ex/sessions

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

drago-ex/sessions
=================

Helper class for accessing Nette session and session sections outside presenters.

v2.0.2(1w ago)0417MITPHPPHP &gt;=8.3 &lt;9CI passing

Since Oct 9Pushed 1w ago1 watchersCompare

[ Source](https://github.com/drago-ex/sessions)[ Packagist](https://packagist.org/packages/drago-ex/sessions)[ RSS](/packages/drago-ex-sessions/feed)WikiDiscussions master Synced yesterday

READMEChangelog (9)Dependencies (18)Versions (11)Used By (0)

Drago Sessions
==============

[](#drago-sessions)

A helper package for managing sessions outside the presenter in Nette Framework.

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://github.com/drago-ex/sessions/blob/master/license)[![PHP version](https://camo.githubusercontent.com/d33ba57339b7cb4c3cec3d97f9693cabf57cd81d34effa6b3e52f567e558e0d1/68747470733a2f2f62616467652e667572792e696f2f70682f647261676f2d657825324673657373696f6e732e737667)](https://badge.fury.io/ph/drago-ex%2Fsessions)[![Tests](https://github.com/drago-ex/sessions/actions/workflows/tests.yml/badge.svg)](https://github.com/drago-ex/sessions/actions/workflows/tests.yml)[![Coding Style](https://github.com/drago-ex/sessions/actions/workflows/coding-style.yml/badge.svg)](https://github.com/drago-ex/sessions/actions/workflows/coding-style.yml)

Requirements
------------

[](#requirements)

- PHP &gt;= 8.3
- Nette Framework
- Composer

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

[](#installation)

```
composer require drago-ex/sessions

```

Extension Registration
----------------------

[](#extension-registration)

In your `neon` configuration, register the `ExtraSession` service:

```
service:
	- Drago\Http\ExtraSession(@Nette\Http\Session, 'namespace')
```

Examples
--------

[](#examples)

Setting session values

```
// Setting a session value in the specified section.
$this->ExtraSession->getSessionSection()->set('key', 'value');
```

Reading session values

```
// Getting a session value from the section.
$value = $this->ExtraSession->getSessionSection()->get('key');
```

Features
--------

[](#features)

- Provides access to Nette sessions and session sections outside the presenter.
- Ideal for managing session data in services or components within a Nette application.

Knowledge
---------

[](#knowledge)

- [Nette Sessions](https://doc.nette.org/en/http/sessions)

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance98

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 99.3% 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 ~271 days

Recently: every ~231 days

Total

10

Last Release

11d ago

Major Versions

v1.0.6 → v2.0.02026-05-22

PHP version history (6 changes)v1.0.0PHP &gt;=7.1

v1.0.2PHP &gt;=7.4

v1.0.3PHP &gt;=8.0

v1.0.4PHP &gt;=8.1

v1.0.5PHP &gt;=8.1 &lt;8.4

v1.0.6PHP &gt;=8.3 &lt;9

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5998929?v=4)[Zdeněk Papučík](/maintainers/accgit)[@accgit](https://github.com/accgit)

---

Top Contributors

[![accgit](https://avatars.githubusercontent.com/u/5998929?v=4)](https://github.com/accgit "accgit (152 commits)")[![codacy-badger](https://avatars.githubusercontent.com/u/23704769?v=4)](https://github.com/codacy-badger "codacy-badger (1 commits)")

---

Tags

nettesessions

### Embed Badge

![Health badge](/badges/drago-ex-sessions/health.svg)

```
[![Health](https://phpackages.com/badges/drago-ex-sessions/health.svg)](https://phpackages.com/packages/drago-ex-sessions)
```

###  Alternatives

[nette/php-generator

🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.

2.3k72.7M736](/packages/nette-php-generator)[nette/component-model

⚛ Nette Component Model

28817.0M105](/packages/nette-component-model)[nette/forms

📝 Nette Forms: generating, validating and processing secure forms in PHP. Handy API, fully customizable, server &amp; client side validation and mature design.

54413.6M498](/packages/nette-forms)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5275.9M118](/packages/symplify-monorepo-builder)[nette/code-checker

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

911.7M6](/packages/nette-code-checker)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)

PHPackages © 2026

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