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.
Run the following to install this library:
$ composer require mezzio/mezzio-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 mezzio/mezzio-session-ext
$ mkdocs build
You may also browse the documentation online.