2017 © Pedro Peláez
 

library auth-storage-symfony

Symfony Session storage adapter for Golem Auth

image

golem/auth-storage-symfony

Symfony Session storage adapter for Golem Auth

  • Friday, June 8, 2018
  • by spekkionu
  • Repository
  • 1 Watchers
  • 0 Stars
  • 25 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 9 % Grown

The README.md

Golem Auth

Latest Stable Version Build Status Code Coverage Scrutinizer Code Quality SensioLabsInsight, (*1)

Symfony Session storage adapter for Golem Auth, (*2)

Install

Via Composer, (*3)

``` bash $ composer require golem/auth-storage-symfony, (*4)


## Usage Follow the documentation on [Golem Auth](https://github.com/spekkionu/golem-auth) to create a user model and a user repository class. ``` php use ; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage; use Symfony\Component\HttpFoundation\Session\Storage\Handler\NativeFileSessionHandler; // configure the symfony session as usual $session_storage = new NativeSessionStorage(array(), new NativeFileSessionHandler()); $session = new Session($session_storage); $storage = new \Golem\Auth\Storage\SymfonySessionStorage($session); // get an instance of your user repository however you need to $userRepository = new UserRepository($database_connection); $auth = new \Golem\Auth($storage, $userRepository);

Testing

bash $ composer test, (*5)

License

The MIT License (MIT). Please see License File for more information., (*6)

The Versions

08/06 2018

dev-master

9999999-dev

Symfony Session storage adapter for Golem Auth

  Sources   Download

MIT

The Requires

 

The Development Requires

08/06 2018

v3.0.0

3.0.0.0

Symfony Session storage adapter for Golem Auth

  Sources   Download

MIT

The Requires

 

The Development Requires

09/05 2017

2.0.0

2.0.0.0

Symfony Session storage adapter for Golem Auth

  Sources   Download

MIT

The Requires

 

The Development Requires

21/10 2016

1.0.1

1.0.1.0

Symfony Session storage adapter for Golem Auth

  Sources   Download

MIT

The Requires

 

The Development Requires

21/10 2016

1.0.0

1.0.0.0

Symfony Session storage adapter for Golem Auth

  Sources   Download

MIT

The Requires

 

The Development Requires