rojtjo / sentinel-guard
Installs: 2 431
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 2
Open Issues: 1
Requires
- php: ^7.3
- cartalyst/sentinel: ^5.0
- illuminate/auth: ^8
Requires (Dev)
- illuminate/database: ^8
- phpunit/phpunit: ^9.0
- squizlabs/php_codesniffer: ^2.3
README
This package implements the Illuminate\Contracts\Auth\StatefulGuard
interface using Sentinel.
Install
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', ], ], ];
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email me@rojvroemen.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.