personal-galaxy / identity
1.5.1
2018-08-15 15:00 UTC
Requires
- php: ~7.2
- innmind/event-bus: ^2.1
- innmind/immutable: ^2.8
- innmind/specification: ^1.0
- innmind/time-continuum: ^1.2
- paragonie/multi-factor: ^0.2.2
Requires (Dev)
- giorgiosironi/eris: ^0.10.0
- phpunit/phpunit: ~7.0
README
Model to manage logins via password, or combined via a 2fa code.
Installation
composer require personal-galaxy/identity
Usage
The only entry point to use the model are the commands, you should use a command bus in order to bind the commands to their handler.
You also need to implement the repository interface in order to persist the identities.