PHPackages                             zendframework/zend-expressive-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. [HTTP &amp; Networking](/categories/http)
4. /
5. zendframework/zend-expressive-session

Abandoned → [mezzio/mezzio-session](/?search=mezzio%2Fmezzio-session)ArchivedLibrary[HTTP &amp; Networking](/categories/http)

zendframework/zend-expressive-session
=====================================

Session container and middleware for PSR-7 applications

1.3.0(6y ago)32148.2k—6.3%9[3 issues](https://github.com/zendframework/zend-expressive-session/issues)8BSD-3-ClausePHPPHP ^7.1

Since Oct 10Pushed 6y ago6 watchersCompare

[ Source](https://github.com/zendframework/zend-expressive-session)[ Packagist](https://packagist.org/packages/zendframework/zend-expressive-session)[ RSS](/packages/zendframework-zend-expressive-session/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (4)Versions (9)Used By (8)

zend-expressive-session
=======================

[](#zend-expressive-session)

> ## Repository abandoned 2019-12-31
>
> [](#repository-abandoned-2019-12-31)
>
> This repository has moved to [mezzio/mezzio-session](https://github.com/mezzio/mezzio-session).

[![Build Status](https://camo.githubusercontent.com/bfc1eb7680ca14717e77bc3652c57795d17af5b053872a9af479bfb07673ee3f/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7a656e646672616d65776f726b2f7a656e642d657870726573736976652d73657373696f6e2e7376673f6272616e63683d6d6173746572)](https://secure.travis-ci.org/zendframework/zend-expressive-session)[![Coverage Status](https://camo.githubusercontent.com/c57664eebbb5737f57d2c0a227c85247d353539f9554d2d5cccb454e4b7e70ec/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7a656e646672616d65776f726b2f7a656e642d657870726573736976652d73657373696f6e2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/zendframework/zend-expressive-session?branch=master)

This library provides session handling middleware for PSR-7 applications, using an adapter-based approach that will allow usage of ext-session, JWT, or other approaches.

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

[](#installation)

Run the following to install this library:

```
$ composer require zendframework/zend-expressive-session
```

However, the package is not immediately useful unless you have a persistence adapter. If you are okay with using ext-session, you can install the following package as well:

```
$ composer require zendframework/zend-expressive-session-ext
```

Documentation
-------------

[](#documentation)

Documentation is [in the doc tree](docs/book/), and can be compiled using [mkdocs](http://www.mkdocs.org):

```
$ mkdocs build
```

You may also [browse the documentation online](https://docs.zendframework.com/zend-expressive-session/).

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community27

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 74.4% 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 ~122 days

Recently: every ~145 days

Total

7

Last Release

2452d ago

Major Versions

0.1.0 → 1.0.0alpha12018-02-07

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/296074?v=4)[Zend Framework](/maintainers/zendframework)[@zendframework](https://github.com/zendframework)

---

Top Contributors

[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (96 commits)")[![michalbundyra](https://avatars.githubusercontent.com/u/7423207?v=4)](https://github.com/michalbundyra "michalbundyra (24 commits)")[![geerteltink](https://avatars.githubusercontent.com/u/9497586?v=4)](https://github.com/geerteltink "geerteltink (3 commits)")[![pine3ree](https://avatars.githubusercontent.com/u/3229979?v=4)](https://github.com/pine3ree "pine3ree (3 commits)")[![kynx](https://avatars.githubusercontent.com/u/1320145?v=4)](https://github.com/kynx "kynx (1 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (1 commits)")[![harikt](https://avatars.githubusercontent.com/u/120454?v=4)](https://github.com/harikt "harikt (1 commits)")

---

Tags

psr-7middlewareZendFrameworkzfsessionexpressivezend-expressive

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zendframework-zend-expressive-session/health.svg)

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

###  Alternatives

[mezzio/mezzio

PSR-15 Middleware Microframework

3923.8M126](/packages/mezzio-mezzio)[mezzio/mezzio-authentication-oauth2

OAuth2 (server) authentication middleware for Mezzio and PSR-7 applications.

28591.3k3](/packages/mezzio-mezzio-authentication-oauth2)

PHPackages © 2026

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