New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

rojtjo/sentinel-guard

2,434
Install
composer require rojtjo/sentinel-guard
Latest Version:0.5.0
PHP:^7.3
Laravel:8
Older releases:5 · 6 · 7
License:MIT
Last Updated:Sep 15, 2020
Links: GitHub  ·  Packagist
Maintainer: Rojtjo

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.

Related Packages

rojtjo/lumen-glide

Easily integrate Glide with the Lumen micro-framework

31 0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443

Version History

Version Released PHP Laravel License
0.5.0 ^7.3 ^8 MIT
0.4.0 ^7.2 ^7 MIT
0.3.0 ~7.1 ^5.4|^6|^7 MIT
0.2.0 ~7.1 ^5.4 MIT
0.1.0 ~5.6|~7.0 ^5.4 MIT