This package implements the Illuminate\Contracts\Auth\StatefulGuard
interface using Sentinel.
Via Composer
$ composer require rojtjo/sentinel-guard
Install the service provider:
// config/app.php
'providers' => [
...
Rojtjo\SentinelGuard\SentinelGuardServiceProvider::class,
],
Configure the guard:
// config/auth.php
[
'guards' => [
'web' => [
'driver' => 'sentinel',
'provider' => 'users',
],
],
];
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email me@rojvroemen.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.