rojtjo/sentinel-guard

0.5.0 2020-09-15 11:29 UTC

This package is auto-updated.

Last update: 2024-10-15 20:35:13 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.