Download the PHP package felipe.devops/laravel-keycloak-admin without Composer
On this page you can find all versions of the php package felipe.devops/laravel-keycloak-admin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download felipe.devops/laravel-keycloak-admin
More information about felipe.devops/laravel-keycloak-admin
Files in felipe.devops/laravel-keycloak-admin
Package laravel-keycloak-admin
Short Description Keycloak Admin Rest API for Laravel/Lumen
License MIT
Informations about the package laravel-keycloak-admin
This is a forked repository from https://github.com/Mnikoei/laravel-keycloak-admin
Original work credited to Mnikoei.
Alternative
Keycloak Admin library made by Scito. https://gitlab.com/scito-performance/keycloak-admin
Supports
Installation
Copy the package config to your local config with the publish command:
Laravel only
Lumen only
Create a config
folder in the root directory.
Copy from , and paste into folder.
Register the provider in your boostrap app file
Add the following line at that files. Please note that should be placed below .
For facades, uncomment in your boostrap app file
Environment Setup
Add these environment variables to your .env :
Enable realm managment
Go to then select realm-managment
from Client Roles list and assign realm-admin to client.
Available methods :
Package has provided services as below:
- user
- role
- client
- clientRole
- addon
Available functions:
- Create User
- Get All User
- Query User
All API's are declared in
Usages
Include the KeycloakAdmin inside your Laravel controller/API route
Example:
Additional Methods
Logout User session by user Id
Set Expiry Access Token
To do list
- [x] Lumen Support
- [ ] Test LDAP Connection
- [ ] Import users from LDAP
All other api calls are same as examples just needs to provide required parameters as described in https://www.keycloak.org/docs-api/11.0/rest-api/index.html