PHPackages                             kcharfi/keycloak-admin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. kcharfi/keycloak-admin

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

kcharfi/keycloak-admin
======================

Laravel client for the Keycloak Admin API

3130PHPCI failing

Since Mar 7Pushed 4y ago1 watchersCompare

[ Source](https://github.com/khalilcharfi/laravel-keycloak-admin)[ Packagist](https://packagist.org/packages/kcharfi/keycloak-admin)[ RSS](/packages/kcharfi-keycloak-admin/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Keycloak Admin Library
==============================

[](#laravel-keycloak-admin-library)

```
composer require kcharfi/keycloak-admin

```

```
php artisan vendor:publish  --provider="Kcharfi\Laravel\Keycloak\Admin\KeycloakServiceProvider"

```

Other configurations can be changed to have a new default value, but we recommend to use .env file:

```
KEYCLOAK_ADMIN_URL=http://keycloack.test/auth
KEYCLOAK_ADMIN_USERNAME=admin
KEYCLOAK_ADMIN_PASSWORD=admin
KEYCLOAK_ADMIN_REALM=master
KEYCLOAK_ADMIN_CLIENT_ID=test
KEYCLOAK_ADMIN_CLIENT_SECRET=XXXXXXX-XXXXX-XXXX-XXXX-XXXXXXXXX
KEYCLOAK_ADMIN_LOG_LEVEL_SUCCESS=INFO
KEYCLOAK_ADMIN_LOG_LEVEL_ERROR=ERROR

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ac55719a61762bc0bd816a1ad7f24dd404659731c6388f6cb7722072f6f02aa0?d=identicon)[kcharfi](/maintainers/kcharfi)

---

Top Contributors

[![khalilcharfi](https://avatars.githubusercontent.com/u/4891848?v=4)](https://github.com/khalilcharfi "khalilcharfi (4 commits)")

### Embed Badge

![Health badge](/badges/kcharfi-keycloak-admin/health.svg)

```
[![Health](https://phpackages.com/badges/kcharfi-keycloak-admin/health.svg)](https://phpackages.com/packages/kcharfi-keycloak-admin)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
