PHP code example of mathieu-bour / guardian
1. Go to this page and download the library: Download mathieu-bour/guardian 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/ */
mathieu-bour / guardian example snippets
$app->configure('guardian');
$app->register(Windy\Guardian\GuardianServiceProvider::class);
$app->withFacades();
bash
php artisan vendor:publish --provider="Windy\Guardian\GuardianServiceProvider"