https://github.com/phauthentic/authentication-laravel
Laravel / Eloquent ORM integration for the Authentication library
https://github.com/phauthentic/authentication-laravel
adapter authentication laravel laravel5 library
Last synced: 2 months ago
JSON representation
Laravel / Eloquent ORM integration for the Authentication library
- Host: GitHub
- URL: https://github.com/phauthentic/authentication-laravel
- Owner: Phauthentic
- License: mit
- Created: 2018-09-12T14:55:46.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-21T12:50:15.000Z (over 7 years ago)
- Last Synced: 2025-02-22T08:29:33.537Z (over 1 year ago)
- Topics: adapter, authentication, laravel, laravel5, library
- Language: PHP
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Laravel / Eloquent Authentication Bridge
[](LICENSE)
[](https://scrutinizer-ci.com/g/Phauthentic/authentication-laravel/)
[](https://scrutinizer-ci.com/g/Phauthentic/authentication-laravel/)
This package will allow you to lookup user credentials with your Laravel application or your application using the Eloquent ORM and the [Phautentic Authentication](https://github.com/Phauthentic/authentication) library.
## How to use it
All you need to do is to instantiate a model object and pass it to the resolver.
```php
use Authentication\Identifier\Resolver\EloquentResolver;
use App\Model\UserModel;
$resolver = new EloquentResolver(new UserModel());
```
For further information on how to configure identifiers and resolvers please check the documentation of [Phautentic Authentication](https://github.com/Phauthentic/authentication).
## Copyright & License
Licensed under the [MIT license](LICENSE.txt).