2017 © Pedro PelĂĄez
 

library guardian-doctrine

Doctrine integration for Guardian

image

indigophp/guardian-doctrine

Doctrine integration for Guardian

  • Monday, March 30, 2015
  • by mark.sagikazar
  • Repository
  • 0 Watchers
  • 0 Stars
  • 95 Installations
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Indigo Guardian Doctrine

Latest Version Software License Build Status Code Coverage Quality Score HHVM Status Total Downloads, (*1)

Doctrine integration for Guardian., (*2)

Install

Via Composer, (*3)

``` bash $ composer require indigophp/guardian-doctrine, (*4)



## Usage Simply pass an `EntityManagerInterface` instance and an Entity class name to the `Indigo\Guardian\Identifier\Doctrine` class and you are good to go: ``` php use Indigo\Guardian\Identifier\Doctrine; $identifier = new Doctrine($entityManager, 'Indigo\Guardian\Caller\User\Simple'); // optional, ['username'] by default $identifier->setIdentificationFields(['username']); // optional, 'loginToken' by default $identifier->setLoginTokenField('id');

Testing

bash $ phpspec run, (*5)

Contributing

Please see CONTRIBUTING for details., (*6)

Credits

License

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

The Versions

30/03 2015

dev-master

9999999-dev https://indigophp.com

Doctrine integration for Guardian

  Sources   Download

MIT

The Requires

 

The Development Requires

by MĂĄrk SĂĄgi-KazĂĄr

doctrine guardian