PHP code example of inzamam / selise-block-authorization

1. Go to this page and download the library: Download inzamam/selise-block-authorization 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/ */

    

inzamam / selise-block-authorization example snippets


use SeliseBlockAuthService;

$token = SeliseBlockAuthService::getAccessToken();
echo $token;
bash
php artisan vendor:publish --tag=selise-block-authorization-config
arduino
config/selise-block-authorization.php
bash
php artisan vendor:publish --tag=selise-block-authorization-migrations
php artisan migrate
bash
php artisan vendor:publish --tag=selise-block-authorization
php artisan migrate