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

ActiveLibrary

spiral/session
==============

Secure sessions over native PHP handlers

3.16.1(2mo ago)144.2k↓31.3%1MITPHPPHP &gt;=8.1CI failing

Since Aug 25Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/spiral/session)[ Packagist](https://packagist.org/packages/spiral/session)[ Docs](https://spiral.dev)[ GitHub Sponsors](https://github.com/sponsors/spiral)[ RSS](/packages/spiral-session/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (6)Versions (96)Used By (1)

Secure sessions over native PHP handlers
========================================

[](#secure-sessions-over-native-php-handlers)

[![PHP Version Require](https://camo.githubusercontent.com/25dfcdefbe116846012ace0e62773fe83bb58935214f12c79f6d1b2c3fe75d5f/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f73657373696f6e2f726571756972652f706870)](https://packagist.org/packages/spiral/session)[![Latest Stable Version](https://camo.githubusercontent.com/dceaccef9201a641134d91225e74c5e57dec44669a494f012cb2955c65b1f1e7/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f73657373696f6e2f762f737461626c65)](https://packagist.org/packages/spiral/session)[![phpunit](https://github.com/spiral/session/actions/workflows/phpunit.yml/badge.svg)](https://github.com/spiral/session/actions)[![psalm](https://github.com/spiral/session/actions/workflows/psalm.yml/badge.svg)](https://github.com/spiral/session/actions)[![Codecov](https://camo.githubusercontent.com/4a5dea4ba66aff70127d57f08aa7fc55a1fa1ed182d32f7b051c0c0390c2df84/68747470733a2f2f636f6465636f762e696f2f67682f73706972616c2f73657373696f6e2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/spiral/session/)[![Total Downloads](https://camo.githubusercontent.com/9b0e9b2276ce1abd18c393eb034b0a89af68063a74eb6e785a4c0755b05d39d4/68747470733a2f2f706f7365722e707567782e6f72672f73706972616c2f73657373696f6e2f646f776e6c6f616473)](https://packagist.org/packages/spiral/session)[![type-coverage](https://camo.githubusercontent.com/f00670fa053c0ee4f569fae297f49f5c4d5b4241e706e99b04b1aa605e512b05/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f73657373696f6e2f636f7665726167652e737667)](https://shepherd.dev/github/spiral/session)[![psalm-level](https://camo.githubusercontent.com/72b0d806c22ddb1a292d67fb3339d7f29702853361af4f5be4ad2644ab57a54a/68747470733a2f2f73686570686572642e6465762f6769746875622f73706972616c2f73657373696f6e2f6c6576656c2e737667)](https://shepherd.dev/github/spiral/session)[![](https://camo.githubusercontent.com/4442b73a11753b80fdd7b442ddbfaf8383902c8b9ffa66ed1718e8c62e102f2e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646973636f72642d636861742d6d6167656e74612e737667)](https://discord.gg/8bZsjYhVVk)

**[Documentation](https://spiral.dev/docs/http-session)** | [Framework Bundle](https://github.com/spiral/framework)

License:
--------

[](#license)

MIT License (MIT). Please see [`LICENSE`](./LICENSE) for more information. Maintained by [Spiral Scout](https://spiralscout.com).

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance83

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 93.1% 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 ~30 days

Recently: every ~82 days

Total

92

Last Release

84d ago

Major Versions

v1.2.2 → v2.6.02020-09-02

2.14.1 → 3.0.02022-09-13

PHP version history (5 changes)v1.0.0PHP ^7.1

v1.2.0PHP ^7.2

2.7.0PHP &gt;=7.2

2.10.0PHP &gt;=7.4

3.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/796136?v=4)[Anton Tsitou](/maintainers/wolfy-j)[@wolfy-j](https://github.com/wolfy-j)

---

Top Contributors

[![wolfy-j](https://avatars.githubusercontent.com/u/796136?v=4)](https://github.com/wolfy-j "wolfy-j (3447 commits)")[![spiralbot](https://avatars.githubusercontent.com/u/100867204?v=4)](https://github.com/spiralbot "spiralbot (120 commits)")[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (98 commits)")[![vvval](https://avatars.githubusercontent.com/u/11367763?v=4)](https://github.com/vvval "vvval (14 commits)")[![alexndr-novikov](https://avatars.githubusercontent.com/u/7372962?v=4)](https://github.com/alexndr-novikov "alexndr-novikov (4 commits)")[![rauanmayemir](https://avatars.githubusercontent.com/u/9691?v=4)](https://github.com/rauanmayemir "rauanmayemir (4 commits)")[![butschster](https://avatars.githubusercontent.com/u/773481?v=4)](https://github.com/butschster "butschster (3 commits)")[![roxblnfk](https://avatars.githubusercontent.com/u/4152481?v=4)](https://github.com/roxblnfk "roxblnfk (2 commits)")[![tuneyourserver](https://avatars.githubusercontent.com/u/7487510?v=4)](https://github.com/tuneyourserver "tuneyourserver (2 commits)")[![R3VoLuT1OneR](https://avatars.githubusercontent.com/u/1111188?v=4)](https://github.com/R3VoLuT1OneR "R3VoLuT1OneR (2 commits)")[![jwdeitch](https://avatars.githubusercontent.com/u/7282720?v=4)](https://github.com/jwdeitch "jwdeitch (1 commits)")[![jdrieghe](https://avatars.githubusercontent.com/u/12606789?v=4)](https://github.com/jdrieghe "jdrieghe (1 commits)")[![ncou](https://avatars.githubusercontent.com/u/16743322?v=4)](https://github.com/ncou "ncou (1 commits)")[![MatthewHallCom](https://avatars.githubusercontent.com/u/1230091?v=4)](https://github.com/MatthewHallCom "MatthewHallCom (1 commits)")[![nikolaev-dm](https://avatars.githubusercontent.com/u/52159053?v=4)](https://github.com/nikolaev-dm "nikolaev-dm (1 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (1 commits)")[![lex111](https://avatars.githubusercontent.com/u/4408379?v=4)](https://github.com/lex111 "lex111 (1 commits)")

---

Tags

php7sessionsession-handler

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[cycle/orm

PHP DataMapper ORM and Data Modelling Engine

1.3k835.4k65](/packages/cycle-orm)[cycle/database

DBAL, schema introspection, migration and pagination

64690.9k31](/packages/cycle-database)[spiral/temporal-bridge

Temporal integration package for Spiral Framework

58901.5k](/packages/spiral-temporal-bridge)[spiral/grpc-client

gRPC client

41140.3k2](/packages/spiral-grpc-client)[cycle/migrations

Database migrations, migration scaffolding

20539.5k29](/packages/cycle-migrations)

PHPackages © 2026

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