Looking to hire Laravel developers? Try LaraJobs

dorcas-laravel-compat maintained by hostville

Description
Built to make Dorcas work seamlessly with Laravel
Last update
2018/11/21 09:15 (dev-master)
License
Downloads
172

Comments
comments powered by Disqus

Dorcas Laravel Compat

A small pack of parts to make Dorcas play well with Laravel.

Authentication

The Dorcas PHP SDK provides some utility functions for creating user accounts, and authenticating with a username-password combination (provided you have details for a Password Grant client).

To integrate your Laravel install with Dorcas for user authentication, you should make changes to your config/auth.php file.

'guards' => [
    'web' => [
        'driver' => 'session',
        'provider' => 'dorcas', // formerly users
    ],

    'api' => [
        'driver' => 'token',
        'provider' => 'users',
    ],
],

This package registers a new UserProvider which you can use with your installation.