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

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

con-troll/auth-openid-connect
=============================

Simple OpenID Connect library

1.1.0(9y ago)35171Apache-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-troll/auth-openid-connect)[ RSS](/packages/con-troll-auth-openid-connect/feed)WikiDiscussions master Synced 3w 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

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

3303d ago

Major Versions

0.99.0 → 1.0.02016-02-14

### Community

Maintainers

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

---

Top Contributors

[![jumbojett](https://avatars.githubusercontent.com/u/410057?v=4)](https://github.com/jumbojett "jumbojett (55 commits)")[![guss77](https://avatars.githubusercontent.com/u/381782?v=4)](https://github.com/guss77 "guss77 (52 commits)")[![jdreed](https://avatars.githubusercontent.com/u/4193101?v=4)](https://github.com/jdreed "jdreed (5 commits)")[![rasodu](https://avatars.githubusercontent.com/u/13222196?v=4)](https://github.com/rasodu "rasodu (2 commits)")[![rghose](https://avatars.githubusercontent.com/u/5793339?v=4)](https://github.com/rghose "rghose (2 commits)")[![zmon](https://avatars.githubusercontent.com/u/447024?v=4)](https://github.com/zmon "zmon (2 commits)")[![jricher](https://avatars.githubusercontent.com/u/122511?v=4)](https://github.com/jricher "jricher (1 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")[![brettp](https://avatars.githubusercontent.com/u/43375?v=4)](https://github.com/brettp "brettp (1 commits)")[![billsimon](https://avatars.githubusercontent.com/u/5303782?v=4)](https://github.com/billsimon "billsimon (1 commits)")[![stucky](https://avatars.githubusercontent.com/u/2983496?v=4)](https://github.com/stucky "stucky (1 commits)")

### Embed Badge

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

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

###  Alternatives

[jumbojett/openid-connect-php

Bare-bones OpenID Connect client

72710.7M54](/packages/jumbojett-openid-connect-php)[drenso/symfony-oidc-bundle

OpenID connect bundle for Symfony

95714.0k3](/packages/drenso-symfony-oidc-bundle)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

749284.3k35](/packages/civicrm-civicrm-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M518](/packages/shopware-core)[azimolabs/apple-sign-in-php-sdk

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

91485.4k](/packages/azimolabs-apple-sign-in-php-sdk)[clerkinc/backend-php

3377.5k](/packages/clerkinc-backend-php)

PHPackages © 2026

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