Download the PHP package germania-kg/aurasession-middleware without Composer
On this page you can find all versions of the php package germania-kg/aurasession-middleware. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package aurasession-middleware
AuraSessionMiddleware
Middleware to inject Aura.Session Segments into PSR-7 ServerRequests.
Installation with Composer
Usage
Inside your routes
Set PSR7 Request attribute name
Per default, the SessionSegment is stored as the PSR7 Request attribute named session
.
You can set a custom name right after instantiation, i.e. before the middleware is invoked:
Pimple Service Provider
Use with Slim Framework:
Development
Unit tests
Either copy phpunit.xml.dist
to phpunit.xml
and adapt to your needs, or leave as is. Run PhpUnit test or composer scripts like this:
All versions of aurasession-middleware with dependencies
PHP Build Version
Package Version
Requires
php Version
^5.6|^7.0
aura/session Version ^2.1
psr/log Version ^1.0
psr/http-message Version ^1.0
psr/http-server-middleware Version ^1.0
aura/session Version ^2.1
psr/log Version ^1.0
psr/http-message Version ^1.0
psr/http-server-middleware Version ^1.0
The package germania-kg/aurasession-middleware contains the following files
Loading the files please wait ....