PHP code example of nlocascio / mindbody-laravel-auth

1. Go to this page and download the library: Download nlocascio/mindbody-laravel-auth library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

nlocascio / mindbody-laravel-auth example snippets


Nlocascio\MindbodyAuth\MindbodyAuthServiceProvider::class

'mindbody_clients' => [
    'driver' => 'mindbody_client',
    'model' => App\User::class
],

'mindbody_staff' => [
    'driver' => 'mindbody_staff',
    'model' => App\User::class
]

'mindbody_client' => [
    'driver' => 'session',
    'provider' => 'mindbody_client'
],

'mindbody_staff' => [
    'driver' => 'session',
    'provider' => 'mindbody_staff'
]

'defaults' => [
    'guard'     => 'mindbody_client',      // or 'mindbody_staff'
    'passwords' => 'users',
],