PHP code example of progresivjose / laravel-piano-oauth
1. Go to this page and download the library: Download progresivjose/laravel-piano-oauth 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/ */
progresivjose / laravel-piano-oauth example snippets
'providers' => ServiceProvider::defaultProviders()->merge([
/*
* Application Service Providers...
*/
Progresivjose\LaravelPianoOauth\Providers\PianoOauthProvider::class,
])->toArray(),
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => \Progresivjose\LaravelPianoOauth\Models\PianoUser::class,
],
]
bash
php artisan vendor:publish
bash
php artisan migrate