Download the PHP package middlewares/aura-session without Composer
On this page you can find all versions of the php package middlewares/aura-session. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download middlewares/aura-session
More information about middlewares/aura-session
Files in middlewares/aura-session
Package aura-session
Short Description Middleware to manage sessions using Aura.Session
License MIT
Homepage https://github.com/middlewares/aura-session
Informations about the package aura-session
middlewares/aura-session
![SensioLabs Insight][ico-sensiolabs]
Middleware to manage sessions using Aura.Session.
Requirements
- PHP >= 7.2
- A PSR-7 http message implementation (Diactoros, Guzzle, Slim, etc...)
- A PSR-15 middleware dispatcher
Installation
This package is installable and autoloadable via Composer as middlewares/aura-session.
Example
Options
__construct(Aura\Session\SessionFactory $factory = null)
To use a custom session factory. If it's not passed, it will be created automatically.
name(string $name)
The session name. If it's not defined, the default PHPSESSID will be used.
attribute(string $attribute)
The attribute name used to store the session in the server request. By default is session.
Please see CONTRIBUTING for contributing details.
The MIT License (MIT). Please see LICENSE for more information.