2017 © Pedro Peláez
 

library aura-session

Middleware to manage sessions using Aura.Session

image

middlewares/aura-session

Middleware to manage sessions using Aura.Session

  • Saturday, January 27, 2018
  • by oscarotero
  • Repository
  • 1 Watchers
  • 4 Stars
  • 352 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 99 % Grown

The README.md

middlewares/aura-session

Latest Version on Packagist ![Software License][ico-license] Testing ![Total Downloads][ico-downloads] ![SensioLabs Insight][ico-sensiolabs], (*1)

Middleware to manage sessions using Aura.Session., (*2)

Requirements

Installation

This package is installable and autoloadable via Composer as middlewares/aura-session., (*3)

composer require middlewares/aura-session

Example

$dispatcher = new Dispatcher([
    new Middlewares\AuraSession(),

    function ($request) {
        //get the session object
        $session = $request->getAttribute('session');
    }
]);

$response = $dispatcher->dispatch(new ServerRequest());

Options

__construct(Aura\Session\SessionFactory $factory = null)

To use a custom session factory. If it's not passed, it will be created automatically., (*4)

name(string $name)

The session name. If it's not defined, the default PHPSESSID will be used., (*5)

attribute(string $attribute)

The attribute name used to store the session in the server request. By default is session., (*6)


Please see CHANGELOG for more information about recent changes and CONTRIBUTING for contributing details., (*7)

The MIT License (MIT). Please see LICENSE for more information., (*8)

The Versions

27/01 2018

dev-master

9999999-dev https://github.com/middlewares/aura-session

Middleware to manage sessions using Aura.Session

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware psr-7 server http session psr-15 aura.session

27/01 2018

v1.0.0

1.0.0.0 https://github.com/middlewares/aura-session

Middleware to manage sessions using Aura.Session

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware psr-7 server http session psr-15 aura.session

13/11 2017
21/09 2017

v0.4.0

0.4.0.0 https://github.com/middlewares/aura-session

Middleware to manage sessions using Aura.Session

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware psr-7 server http session psr-15 aura.session

26/12 2016

v0.3.0

0.3.0.0 https://github.com/middlewares/aura-session

Middleware to manage sessions using Aura.Session

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware psr-7 server http session psr-15 aura.session

27/11 2016

v0.2.0

0.2.0.0 https://github.com/middlewares/aura-session

Middleware to manage sessions using Aura.Session

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware psr-7 server http session psr-15 aura.session

08/10 2016

v0.1.0

0.1.0.0 https://github.com/middlewares/aura-session

Middleware to manage sessions using Aura.Session

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware psr-7 server http session psr-15 aura.session