2017 © Pedro Peláez
 

library symfony-session-provider

A league/container service provider for Symfony's session.

image

laasti/symfony-session-provider

A league/container service provider for Symfony's session.

  • Saturday, August 29, 2015
  • by nebulousGirl
  • Repository
  • 1 Watchers
  • 0 Stars
  • 151 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

Laasti/symfony-session-provider

A league/container service provider for Symfony's session., (*1)

Installation

composer require laasti/symfony-session-provider

Usage


$container = new League\Container\Container; $container->addServiceProvider('Laasti\SymfonySessionProvider\SymfonySessionProvider'); //To add configuration, by default it uses native sessions $container->add('config.session', []); //Get session $session = $container->get('Symfony\Component\HttpFoundation\Session\SessionInterface');

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

See CHANGELOG.md for more information., (*2)

Credits

Author: Sonia Marquette (@nebulousGirl), (*3)

License

Released under the MIT License. See LICENSE.txt file., (*4)

The Versions

29/08 2015

dev-master

9999999-dev

A league/container service provider for Symfony's session.

  Sources   Download

MIT

The Requires

 

29/08 2015

v1.0

1.0.0.0

A league/container service provider for Symfony's session.

  Sources   Download

MIT

The Requires