PHP code example of ltsochev / eloquent-devices

1. Go to this page and download the library: Download ltsochev/eloquent-devices 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/ */

    

ltsochev / eloquent-devices example snippets


'providers' => [
    // ...
    Ltsochev\Auth\ServiceProvider::class,
]

'token_table' => 'user_tokens',
'driver_name' => 'eloquentdevices',

//...
'driver' => 'eloquentdevices',
bash
php artisan vendor:publish --provider="Ltsochev\Auth\ServiceProvider" --tag="migrations"
php artisan migrate