PHP code example of firith / laravel-user-status
1. Go to this page and download the library: Download firith/laravel-user-status 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/ */
firith / laravel-user-status example snippets
return [
];
namespace App\Http\Middleware;
use Firith\LaravelUserStatus\Http\Middleware\CheckBannedUser;
class CheckBanned extends CheckBannedUser
{
}
bash
php artisan vendor:publish --tag="user-status-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="laravel-user-status-config"
bash
php artisan vendor:publish --tag="laravel-user-status-views"