PHP code example of tadasei / laravel-keycloak-guard
1. Go to this page and download the library: Download tadasei/laravel-keycloak-guard 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/ */
tadasei / laravel-keycloak-guard example snippets
'defaults' => [
'guard' => 'api',
'passwords' => 'users',
],
'guards' => [
'keycloak' => [
'driver' => 'keycloak',
'provider' => 'users',
],
],
bash
php artisan vendor:publish --provider="LeandroSe\\KeycloakGuard\\KeycloakAuthServiceProvider"