The keyclock plugin provides a simple way to integrate Keycloak admin api with full support for Laravel framework.
openseawave/keycloak is a Laravel package for the keyclock plugin provides a simple way to integrate keycloak admin api with full support for laravel framework..
It currently has 2 GitHub stars and 1.087 downloads on Packagist (latest version v1.0.7).
Install it with composer require openseawave/keycloak.
Discover more Laravel packages by openseawave
or browse all Laravel packages to compare alternatives.
Last updated
The keyclock plugin provides a simple way to integrate Keycloak admin api with full support for Laravel framework.
You can install the package via composer:
composer require openseawave/keycloak
You can publish the config file with:
php artisan vendor:publish --tag="keycloak-config"
you can use it like this:
use Openseawave\Keycloak\Keycloak;
use OpenSeaWave\Keycloak\Enums\GrantType;
$keycloak = new Keycloak(
baseUrl: 'http://localhost:8080',
username: 'admin',
password: 'admin',
grantType: GrantType::PASSWORD,
clientId: 'admin-cli',
);
$keycloak->getUsers();
Also you can use it using Laravel Facade:
use Openseawave\Keycloak\Facades\Keycloak;
Keycloak::getUsers();
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.