Skip to content

rojtjo/sentinel-guard

Repository files navigation

sentinel-guard

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages