PHPackages                             stefanopascazi/keycloak-auth-php - 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. stefanopascazi/keycloak-auth-php

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

stefanopascazi/keycloak-auth-php
================================

Beautifull and fast module for authenticate with OAuth2 use Keycloak.

0.3.0(3y ago)019MITPHPPHP &gt;=8.1

Since Jun 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/stefanopascazi/keycloak-auth-php)[ Packagist](https://packagist.org/packages/stefanopascazi/keycloak-auth-php)[ RSS](/packages/stefanopascazi-keycloak-auth-php/feed)WikiDiscussions main Synced 4w ago

READMEChangelogDependencies (2)Versions (9)Used By (0)

keycloak-auth-php
=================

[](#keycloak-auth-php)

Beautifull and fast module for authenticate with OAuth2 use Keycloak.

```

```

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

[](#installation)

This is a **PHP** module available through the packagist registry.

Before installing, **download and install PHP**. PHP 8.0.2 or higher is required.

If this is a brand new project, make sure to create a composer.json first with the **composer init command**.

Installation is done using the **composer require command**:

```
$ composer require stefanopascazi/keycloak-auth-php`
```

Example
-------

[](#example)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~4 days

Total

8

Last Release

1397d ago

PHP version history (2 changes)0.1.0-alphaPHP &gt;=8.0.2

0.3.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/522173a28aaeea67c5315db1e69b3969ba120b0f4fe720f1242bc633bcf196bd?d=identicon)[UltimaTNX](/maintainers/UltimaTNX)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/stefanopascazi-keycloak-auth-php/health.svg)

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

###  Alternatives

[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k172.9M1.8k](/packages/symfony-security-bundle)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M191](/packages/simplesamlphp-simplesamlphp)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

50570.7k1](/packages/web-auth-webauthn-framework)[web-auth/webauthn-symfony-bundle

FIDO2/Webauthn Security Bundle For Symfony

63397.4k6](/packages/web-auth-webauthn-symfony-bundle)[idci/keycloak-security-bundle

Allows you to easily handle you application security thanks to keycloak.

5093.2k](/packages/idci-keycloak-security-bundle)

PHPackages © 2026

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