PHP wrapper for the KeyCloak admin API
This package aims to wrap the Keycloak API and provide an easy and consistent layer for managing your keycloak realms.
First create a KeycloakClient with your credentials.
$kcClient = new Keycloak\KeycloakClient( 'my-client-id', 'my-client-secret', 'my-realm', 'https://my-keycloak-base-url.com' );
Then you can pass the client to any of the APIs.
$userApi = new Keycloak\User\Api($kcClient); $allUsers = $userApi->findAll();
These are the platforms which are officially supported by this package. Any other versions will probably work but is not guaranteed.
Please read our contribution guidelines before contributing.