PHP code example of cloudoki / oauth2-stack

1. Go to this page and download the library: Download cloudoki/oauth2-stack 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/ */

    

cloudoki / oauth2-stack example snippets


$ nano config/app.php

$ nano app/config/app.php

'providers' => array(
    ...
    'Cloudoki\OaStack\OaStackServiceProvider'
),

$ php artisan dump-autoload

$ php artisan config:publish cloudoki/oauth2-stack

$ php artisan vendor:publish

$ php artisan migrate --package="cloudoki/oauth2-stack"

$ php artisan vendor:publish --tag="migrations"