PHPackages                             svgta/oidc-client-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. svgta/oidc-client-php

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

svgta/oidc-client-php
=====================

OpenId Connect Client for PHP

v1.1.1(2y ago)141[1 issues](https://github.com/svgta1/oidc-client-php/issues)MITPHP

Since Mar 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/svgta1/oidc-client-php)[ Packagist](https://packagist.org/packages/svgta/oidc-client-php)[ RSS](/packages/svgta-oidc-client-php/feed)WikiDiscussions v1.0.x Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (12)Used By (0)

\[TOC\]

OpenId Connect Client for PHP
=============================

[](#openid-connect-client-for-php)

A library that allows appllications to authentificate a user through the OpenId Connect flow.

Requirements
------------

[](#requirements)

- PHP 8.1 or greater
- curl extension
- mb extension
- json extension
- openssl

Supported
---------

[](#supported)

**Authentication**

- pkce
- client\_secret\_basic
- client\_secret\_post
- client\_secret\_jwt
- private\_key\_jwt
- client credential
- password grant
- JWE Encryption
- Nested JWT (JWS encrypted in a JWE)

---

**Claims request**

- Scope
- Request parameter
- JWS, JWE, Nested JWT request parameter

---

**id\_token**

- Signed JWT (JWS)
- Nested JWT (JWS encrypted in a JWE)

---

**UserInfo**

- Json
- Signed JWT (JWS)
- Encrypted Json
- Nested JWT (JWS encrypted in a JWE)

---

**Tokens**

- Refresh
- Revoke
- Introspect

---

**Logout**

- Front-channel logout
- Back-channel logout

---

**Dynamic Registration**

- Registration
- Update
- Delete

---

How to install
--------------

[](#how-to-install)

Composer is the best way to install the library with all its dependencies.

```
composer require svgta/oidc-client-php
```

In your PHP script, include composer autoload. Example :

```
require dirname(__FILE__, 2) . '/vendor/autoload.php';
```

How to use
----------

[](#how-to-use)

The documentation is [here](https://svgtas-organization.gitbook.io/php-oidc-client/)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity9

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 ~28 days

Recently: every ~76 days

Total

12

Last Release

835d ago

Major Versions

v0.0.6 → v1.0.02023-04-03

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/svgta-oidc-client-php/health.svg)

```
[![Health](https://phpackages.com/badges/svgta-oidc-client-php/health.svg)](https://phpackages.com/packages/svgta-oidc-client-php)
```

###  Alternatives

[josiasmontag/laravel-recaptchav3

Recaptcha V3 for Laravel package

2641.6M2](/packages/josiasmontag-laravel-recaptchav3)[rahul900day/laravel-captcha

Different types of Captcha implementation for Laravel Application.

10715.9k](/packages/rahul900day-laravel-captcha)[simplesamlphp/simplesamlphp-module-oidc

A SimpleSAMLphp module adding support for the OpenID Connect protocol

5016.9k1](/packages/simplesamlphp-simplesamlphp-module-oidc)[kinde-oss/kinde-auth-php

Kinde PHP SDK for authentication

2369.5k3](/packages/kinde-oss-kinde-auth-php)[descope/descope-php

Descope SDK for PHP

3814.0k](/packages/descope-descope-php)[njoguamos/laravel-turnstile

A laravel wrapper for https://developers.cloudflare.com/turnstile/

2315.9k2](/packages/njoguamos-laravel-turnstile)

PHPackages © 2026

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