Using keycloak-php-sdk with keycloak.local

PHP integration

Install
composer require keycloak-php-sdk
Get themes, social providers, auth providers, and event listeners available o…
curl \
  -H "Authorization: Bearer $API_KEY" \
  http://keycloak.local/
Get the top-level representation of the realm It will not include nested in…
curl \
  -H "Authorization: Bearer $API_KEY" \
  http://keycloak.local/{realm}
Need this for admin console to display simple name of provider when displayin…
curl \
  -H "Authorization: Bearer $API_KEY" \
  http://keycloak.local/{id}/name
SDK on GitHub 📄 API Docs
SDK
keycloak-php-sdk
PHP
API
keycloak.local
keycloak.local
At a glance
Language PHP
Endpoints281
Base URLhttp://keycloak.local