PHPackages                             apside-top/openid-php-client - 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. apside-top/openid-php-client

ActiveLibrary

apside-top/openid-php-client
============================

A simple library that allows an application to authenticate a user through the basic OpenID Connect flow

v1.0.0(9y ago)044Apache Version 2.0PHPPHP &gt;=5.2

Since Jun 27Pushed 9y agoCompare

[ Source](https://github.com/seblaporte/openid-php-client)[ Packagist](https://packagist.org/packages/apside-top/openid-php-client)[ RSS](/packages/apside-top-openid-php-client/feed)WikiDiscussions master Synced 2mo ago

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

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

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

A simple library that allows an application to authenticate a user through the basic OpenID Connect flow.

Adapted from [jumbojett/OpenID-Connect-PHP](https://github.com/jumbojett/OpenID-Connect-PHP) created by Michael Jett.

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

[](#requirements)

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

Install
-------

[](#install)

1. Install library using composer

```
composer require 'paquet-name'

```

2. Include composer autoloader

```
require '/vendor/autoload.php';
```

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

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

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

$oidc->authenticate();
$name = $oidc->requestUserInfo('given_name');
```

\[See openid spec for available user attributes\]\[1\]

Example 3 : Network and Security
--------------------------------

[](#example-3--network-and-security)

```
// Configure a proxy
$oidc->setHttpProxy("http://my.proxy.com:80/");

// Configure a cert
$oidc->setCertPath("/path/to/my.cert");
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

3609d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/823a585e42a27a7fb343e72187709f59f05ec5ae642be5452348d6f0c5d0a142?d=identicon)[seblaporte](/maintainers/seblaporte)

### Embed Badge

![Health badge](/badges/apside-top-openid-php-client/health.svg)

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

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M350](/packages/tymon-jwt-auth)[kreait/firebase-php

Firebase Admin SDK

2.4k39.7M72](/packages/kreait-firebase-php)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8359.8M53](/packages/php-open-source-saver-jwt-auth)[aporat/store-receipt-validator

PHP receipt validator for Apple App Store and Amazon Appstore

6503.9M9](/packages/aporat-store-receipt-validator)[scheb/2fa

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

578630.7k1](/packages/scheb-2fa)

PHPackages © 2026

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