PHPackages                             openseawave/keycloak - 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. [Framework](/categories/framework)
4. /
5. openseawave/keycloak

ActiveLibrary[Framework](/categories/framework)

openseawave/keycloak
====================

The keyclock plugin provides a simple way to integrate Keycloak admin api with full support for Laravel framework.

v1.0.7(1y ago)21.0k3MITPHPPHP ^8.2

Since Oct 19Pushed 1y ago2 watchersCompare

[ Source](https://github.com/openseawave/keycloak)[ Packagist](https://packagist.org/packages/openseawave/keycloak)[ Docs](https://github.com/openseawave/keycloak)[ GitHub Sponsors](https://github.com/OpenSeaWave)[ RSS](/packages/openseawave-keycloak/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (8)Versions (9)Used By (0)

openseawave/keycloak
====================

[](#openseawavekeycloak)

[![Latest Version on Packagist](https://camo.githubusercontent.com/767387b8f3c046f6a87cd186d1adf53faf29ebd481430339c652b747cdfe5b6f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f70656e736561776176652f6b6579636c6f616b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/openseawave/keycloak)[![GitHub Tests Action Status](https://camo.githubusercontent.com/7cb75e568aa1c4ab4cc5544c3c9dae49bf29d0f164d739306642e037954d7cec/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6f70656e736561776176652f6b6579636c6f616b2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/openseawave/keycloak/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/5ab9f231fcce4f6a0b38a7d5c809b0e4e6a9508235a6c9e3182e08e8deb6ccf8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6f70656e736561776176652f6b6579636c6f616b2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/openseawave/keycloak/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/e36fa5b38e0d5a22a961f24ea1a1bd8a6d7ebcfa6548be51862136e4799c18fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f70656e736561776176652f6b6579636c6f616b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/openseawave/keycloak)

The keyclock plugin provides a simple way to integrate Keycloak admin api with full support for Laravel framework.

Installation
------------

[](#installation)

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"
```

Usage
-----

[](#usage)

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();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Omar Haris](https://github.com/omar-haris)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60.2% 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.

###  Release Activity

Cadence

Every ~2 days

Total

8

Last Release

564d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c02cfd46d931e216c0159695403fd1c4513d2a3a5e74afe292f0f07d9f76ec00?d=identicon)[omar-haris](/maintainers/omar-haris)

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (359 commits)")[![mvdnbrk](https://avatars.githubusercontent.com/u/802681?v=4)](https://github.com/mvdnbrk "mvdnbrk (46 commits)")[![Nielsvanpach](https://avatars.githubusercontent.com/u/10651054?v=4)](https://github.com/Nielsvanpach "Nielsvanpach (23 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (21 commits)")[![pforret](https://avatars.githubusercontent.com/u/474312?v=4)](https://github.com/pforret "pforret (16 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (15 commits)")[![sebastiandedeyne](https://avatars.githubusercontent.com/u/1561079?v=4)](https://github.com/sebastiandedeyne "sebastiandedeyne (14 commits)")[![omar-haris](https://avatars.githubusercontent.com/u/16119345?v=4)](https://github.com/omar-haris "omar-haris (11 commits)")[![patinthehat](https://avatars.githubusercontent.com/u/5508707?v=4)](https://github.com/patinthehat "patinthehat (10 commits)")[![riasvdv](https://avatars.githubusercontent.com/u/3626559?v=4)](https://github.com/riasvdv "riasvdv (9 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (8 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (7 commits)")[![crynobone](https://avatars.githubusercontent.com/u/172966?v=4)](https://github.com/crynobone "crynobone (7 commits)")[![irfanm96](https://avatars.githubusercontent.com/u/42065936?v=4)](https://github.com/irfanm96 "irfanm96 (5 commits)")[![thecaliskan](https://avatars.githubusercontent.com/u/13554944?v=4)](https://github.com/thecaliskan "thecaliskan (5 commits)")[![IGedeon](https://avatars.githubusercontent.com/u/694313?v=4)](https://github.com/IGedeon "IGedeon (4 commits)")[![yaroslawww](https://avatars.githubusercontent.com/u/23663794?v=4)](https://github.com/yaroslawww "yaroslawww (3 commits)")[![jessarcher](https://avatars.githubusercontent.com/u/4977161?v=4)](https://github.com/jessarcher "jessarcher (3 commits)")[![koossaayy](https://avatars.githubusercontent.com/u/6431084?v=4)](https://github.com/koossaayy "koossaayy (3 commits)")[![lloricode](https://avatars.githubusercontent.com/u/8251344?v=4)](https://github.com/lloricode "lloricode (3 commits)")

---

Tags

apiframeworklaravelAuthenticationSSOoauth2authorizationsingle sign onadminOpenID Connectkeycloakopenseawavekeycloak-api

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[jonpurvis/squeaky

A Laravel Validation Rule to Help Catch Profanity.

706.0k](/packages/jonpurvis-squeaky)

PHPackages © 2026

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