PHPackages                             janharsa/mysql-session-handler - 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. janharsa/mysql-session-handler

ActiveLibrary

janharsa/mysql-session-handler
==============================

MySQL session handler for Nette Framework with Nextras Dbal

2.0.2(2y ago)05.7k↓50%1[1 issues](https://github.com/janharsa/nette-mysql-session/issues)MITPHPPHP &gt;=8.1

Since Sep 12Pushed 2y agoCompare

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

READMEChangelog (3)Dependencies (2)Versions (5)Used By (0)

Mysql Session Handler
=====================

[](#mysql-session-handler)

Custom MySQL session handler uses Nextras/DBAL and Nette DI

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

[](#requirements)

- [nextras/dbal](https://github.com/nextras/dbal) 3.0+
- [nette/di](https://github.com/nette/di) 2.2+
- PHP 8.2+

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

[](#installation)

Use [Composer](http://getcomposer.org/) to install package janharsa/mysql-session-handler:

```
$ composer require janharsa/mysql-session-handler:~1.0
```

Setup
-----

[](#setup)

Register an extension in config.neon:

```
    extensions:
        sessionHandler: JanHarsa\Session\DI\MysqlSessionHandlerExtension
```

Default table name is 'sessions'. Can be changeg with adding this on the config.local.neon

```
sessionHandler:
    tableName: session_in_database
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~529 days

Total

4

Last Release

843d ago

Major Versions

v1.0.2 → v2.0.02023-06-14

PHP version history (3 changes)v1.0.2PHP &gt;=7.2

v2.0.0PHP &gt;=8.2

2.0.2PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/7ba4305ba642bb06d1eebc996bf76cd613834ed7c9faf5c86368b3dbd0316a2d?d=identicon)[janharsa](/maintainers/janharsa)

---

Top Contributors

[![janharsa](https://avatars.githubusercontent.com/u/8598725?v=4)](https://github.com/janharsa "janharsa (4 commits)")[![balbos](https://avatars.githubusercontent.com/u/46592311?v=4)](https://github.com/balbos "balbos (1 commits)")

### Embed Badge

![Health badge](/badges/janharsa-mysql-session-handler/health.svg)

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

###  Alternatives

[nette/bootstrap

🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.

68435.8M590](/packages/nette-bootstrap)[brandembassy/slim-nette-extension

19190.2k](/packages/brandembassy-slim-nette-extension)

PHPackages © 2026

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