joshwhatk/sentinel-guard

Laravel Guard for Cartalyst's Sentinel
54 4
Install
composer require joshwhatk/sentinel-guard
Latest Version:v1.0.1
PHP:>=5.5.9
License:MIT
Last Updated:Apr 29, 2021
Links: GitHub  ·  Packagist
Maintainer: joshwhatk

#Cent (An Auth Gaurd Implementation for stateless Sentinel) v1.0.1

Installation

  • Extend UserModel in your User model

    use Joshwhatk\Cent\UserModel;
    
    class User extends UserModel
    {
        ...
    
  • Register the CentServiceProvider in your config/app.php

    Joshwhatk\Cent\CentServiceProvider::class,
    
  • Change the api driver to cent in your config/auth.php

    'guards' => [
        'api' => [
            'driver' => 'cent',
            'provider' => 'users',
        ],
    ],
    

Related Packages

erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
doctrine/dbal

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

628,058,007 9,707
laravel/framework

The Laravel Framework.

576,155,700 34,907
laravel/tinker

Powerful REPL for the Laravel framework.

485,678,092 7,440