PHPackages                             con-tools/auth-openid-connect - 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. con-tools/auth-openid-connect

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

con-tools/auth-openid-connect
=============================

Simple OpenID Connect library

1.1.0(8y ago)3291Apache-2.0PHPPHP &gt;=5.6

Since Feb 14Pushed 8y ago2 watchersCompare

[ Source](https://github.com/con-tools/Auth-OpenID-Connect)[ Packagist](https://packagist.org/packages/con-tools/auth-openid-connect)[ RSS](/packages/con-tools-auth-openid-connect/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

PHP OpenID Connect Client
=========================

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

A relatively simple library that allows an application to authenticate a user through the basic OpenID Connect flow. This is a fork of the OpenID-ConnectP-PHP library by Michael Jett, but extends it to allow finer manipulation of the protocol to allow the HTTP rediret to be handled differently then throwing a 302 Redirect from within the library.

Requirements
============

[](#requirements)

1. PHP 5.6 or greater
2. CURL extension
3. JSON extension

Example 1: Basic Client
-----------------------

[](#example-1-basic-client)

```
$oidc = new OpenIDConnectClient('https://id.provider.com/',
                                'ClientIDHere',
                                'ClientSecretHere');

$url = $oidc->getAuthorizationURL();
// send the client to complete the login
// ...
// capture the authentication token from the callback into $code
$oidc->complete($code);
$name = $oidc->requestUserInfo('given_name');
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

3

Last Release

3261d ago

Major Versions

0.99.0 → 1.0.02016-02-14

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/con-tools-auth-openid-connect/health.svg)

```
[![Health](https://phpackages.com/badges/con-tools-auth-openid-connect/health.svg)](https://phpackages.com/packages/con-tools-auth-openid-connect)
```

###  Alternatives

[jumbojett/openid-connect-php

Bare-bones OpenID Connect client

7169.8M38](/packages/jumbojett-openid-connect-php)[azimolabs/apple-sign-in-php-sdk

Library to verify and validate Apple IdentityToken and authenticate a user with Apple ID.

92463.9k](/packages/azimolabs-apple-sign-in-php-sdk)[strobotti/php-jwk

A small PHP library to handle JWKs (Json Web Keys)

24880.8k7](/packages/strobotti-php-jwk)[clerkinc/backend-php

2755.0k](/packages/clerkinc-backend-php)[jakub-onderka/openid-connect-php

Bare-bones OpenID Connect client

1151.4k](/packages/jakub-onderka-openid-connect-php)[laranex/laravel-biometric-auth

A laravel package to provide asymmetric biometric authentication

106.0k](/packages/laranex-laravel-biometric-auth)

PHPackages © 2026

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