PHP code example of antarctica / laravel-token-blacklist
1. Go to this page and download the library: Download antarctica/laravel-token-blacklist 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/ */
antarctica / laravel-token-blacklist example snippets
'providers' => array(
'Antarctica\LaravelTokenBlacklist\LaravelTokenBlacklistServiceProvider',
)
'repository' => 'Antarctica\LaravelTokenBlacklist\Repository\TokenBlacklistRepositoryEloquent'
shell
php artisan migrate --package="antarctica/laravel-token-blacklist"