PHPackages                             psr7-sessions/storageless-mezzio-integration - 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. psr7-sessions/storageless-mezzio-integration

Abandoned → Looking for maintainerArchivedLibrary[HTTP &amp; Networking](/categories/http)

psr7-sessions/storageless-mezzio-integration
============================================

Storageless PSR-7 Session support for Mezzio

1.0.x-dev(2y ago)813.4k4[2 issues](https://github.com/psr7-sessions/storageless-mezzio-integration/issues)[8 PRs](https://github.com/psr7-sessions/storageless-mezzio-integration/pulls)MITPHPPHP ^7.4 || ~8.0.0 || ~8.1.0

Since Apr 28Pushed 2y ago3 watchersCompare

[ Source](https://github.com/psr7-sessions/storageless-mezzio-integration)[ Packagist](https://packagist.org/packages/psr7-sessions/storageless-mezzio-integration)[ RSS](/packages/psr7-sessions-storageless-mezzio-integration/feed)WikiDiscussions 1.0.x Synced yesterday

READMEChangelogDependencies (12)Versions (11)Used By (0)

PSR-7 Storage-less HTTP Sessions - Mezzio Session Integration
=============================================================

[](#psr-7-storage-less-http-sessions---mezzio-session-integration)

[![Infection MSI](https://camo.githubusercontent.com/df5867b16cce59e18e99c996a251179b7747e9d353a9b1dc2db3f05b62ef81a3/68747470733a2f2f62616467652e737472796b65722d6d757461746f722e696f2f6769746875622e636f6d2f707372372d73657373696f6e732f73746f726167656c6573732d6d657a7a696f2d696e746567726174696f6e2f6d6173746572)](https://travis-ci.org/psr7-sessions/storageless-mezzio-integration)[![Packagist](https://camo.githubusercontent.com/4327e76f692026448915be95e2e34650fd770238269e5228e2cb7174f43b29e1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707372372d73657373696f6e732f73746f726167656c6573732d6d657a7a696f2d696e746567726174696f6e2e737667)](https://packagist.org/packages/psr7-sessions/storageless-mezzio-integration)[![Packagist](https://camo.githubusercontent.com/6c6405497a67d4aec62a5465c47e2acd07fa39064e3ef568867f4c99623295b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f707372372d73657373696f6e732f73746f726167656c6573732d6d657a7a696f2d696e746567726174696f6e2e737667)](https://packagist.org/packages/psr7-sessions/storageless-mezzio-integration)

This integration allows you to use storageless as an implementation for [mezzio-session](https://github.com/mezzio/mezzio-session)

#### Installation

[](#installation)

```
composer require lcobucci/clock \
                 psr7-sessions/storageless \
                 psr7-sessions/storageless-mezzio-integration
```

#### Symmetric key

[](#symmetric-key)

```
use Lcobucci\Clock\SystemClock;
use Lcobucci\JWT\Signer\Key\InMemory;
use Mezzio\Session\SessionMiddleware;
use PSR7Sessions\Mezzio\Storageless\SessionPersistence;
use PSR7Sessions\Storageless\Http\SessionMiddleware as PSR7SessionMiddleware;

$app = \Mezzio\AppFactory::create();
$app->pipe(PSR7SessionMiddleware::fromSymmetricKeyDefaults(
    InMemory::plainText('OpcMuKmoxkhzW0Y1iESpjWwL/D3UBdDauJOe742BJ5Q='),
    1200
));
$app->pipe(new SessionMiddleware(new SessionPersistence(new SystemClock())));
```

#### Asymmetric key

[](#asymmetric-key)

```
use Lcobucci\Clock\SystemClock;
use Lcobucci\JWT\Signer\Key\InMemory;
use Mezzio\Session\SessionMiddleware;
use PSR7Sessions\Mezzio\Storageless\SessionPersistence;
use PSR7Sessions\Storageless\Http\SessionMiddleware as PSR7SessionMiddleware;

$app = \Mezzio\AppFactory::create();
$app->pipe(PSR7SessionMiddleware::fromSymmetricKeyDefaults(
    InMemory::file('/path/to/private_key.pem'),
    InMemory::file('/path/to/public_key.pem'),
    1200
));
$app->pipe(new SessionMiddleware(new SessionPersistence(new SystemClock())));
```

### Contributing

[](#contributing)

Please refer to the [contributing notes](CONTRIBUTING.md).

### License

[](#license)

This project is made public under the [MIT LICENSE](LICENSE).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.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

Unknown

Total

1

Last Release

1064d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd0445bc21fa116c259b5889377b90cbd8a34d49357321f76a74f6d2c2ae6b0c?d=identicon)[Ocramius](/maintainers/Ocramius)

---

Top Contributors

[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (360 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (44 commits)")[![lcobucci](https://avatars.githubusercontent.com/u/201963?v=4)](https://github.com/lcobucci "lcobucci (22 commits)")[![dominikzogg](https://avatars.githubusercontent.com/u/1011217?v=4)](https://github.com/dominikzogg "dominikzogg (14 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (14 commits)")[![marcguyer](https://avatars.githubusercontent.com/u/35496?v=4)](https://github.com/marcguyer "marcguyer (11 commits)")[![AndrewCarterUK](https://avatars.githubusercontent.com/u/6486835?v=4)](https://github.com/AndrewCarterUK "AndrewCarterUK (10 commits)")[![adamturcsan](https://avatars.githubusercontent.com/u/6500048?v=4)](https://github.com/adamturcsan "adamturcsan (6 commits)")[![martinezdelariva](https://avatars.githubusercontent.com/u/1567749?v=4)](https://github.com/martinezdelariva "martinezdelariva (6 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (3 commits)")[![danizord](https://avatars.githubusercontent.com/u/1850941?v=4)](https://github.com/danizord "danizord (2 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (1 commits)")[![basz](https://avatars.githubusercontent.com/u/143068?v=4)](https://github.com/basz "basz (1 commits)")[![hannesvdvreken](https://avatars.githubusercontent.com/u/1410358?v=4)](https://github.com/hannesvdvreken "hannesvdvreken (1 commits)")[![lferro9000](https://avatars.githubusercontent.com/u/2652260?v=4)](https://github.com/lferro9000 "lferro9000 (1 commits)")[![maltsev](https://avatars.githubusercontent.com/u/923973?v=4)](https://github.com/maltsev "maltsev (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/psr7-sessions-storageless-mezzio-integration/health.svg)

```
[![Health](https://phpackages.com/badges/psr7-sessions-storageless-mezzio-integration/health.svg)](https://phpackages.com/packages/psr7-sessions-storageless-mezzio-integration)
```

###  Alternatives

[league/uri-interfaces

Common tools for parsing and resolving RFC3987/RFC3986 URI

538204.9M23](/packages/league-uri-interfaces)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)[laudis/neo4j-php-client

Neo4j-PHP-Client is the most advanced PHP Client for Neo4j

184616.9k31](/packages/laudis-neo4j-php-client)[http-interop/response-sender

A function to convert PSR-7 Response to HTTP output

46711.5k40](/packages/http-interop-response-sender)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[mezzio/mezzio-authentication-oauth2

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

28483.0k2](/packages/mezzio-mezzio-authentication-oauth2)

PHPackages © 2026

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