PHPackages                             grantholle/pear-openid - 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. grantholle/pear-openid

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

grantholle/pear-openid
======================

A psr-4 port of the Pear package: PHP implementation of OpenID 1.1 and 2.0

2.0.1(3y ago)16231BSD-2-ClausePHPPHP ^8.1

Since Aug 24Pushed 3y agoCompare

[ Source](https://github.com/grantholle/pear-openid)[ Packagist](https://packagist.org/packages/grantholle/pear-openid)[ RSS](/packages/grantholle-pear-openid/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (6)Versions (10)Used By (1)

pear-openid
===========

[](#pear-openid)

> Note: This project was ported from Pear to be more compliant based on modern standards. It works, but only barely. There is a lot of refactoring that should be done, but for now it works as-is.

OpenID is a free and easy way to use a [single digital identity](http://openid.net/) across the Internet. This package is a PHP implementation of the OpenID 1.1 and 2.0 specifications for Relying Party functionality.

Only Relying Party support is provided at this time. Provider support is already underway, and will be added as a separate package (i.e. `OpenID_Provider`).

There is out of the box support for a few extensions, including Simple Registration (1.0 and 1.1), Attribute Exchange, OAuth-Hybrid, and some support for the new UI extension.

This package supports a storage interface (CacheLite) for easy addition of custom drivers.There is also support for observers for logging, etc.

There is an example web console for testing discovery, relying party (with some useful debugging functionality), and also a sample implementation of an OpenID JS Selector (i.e. the "NASCAR" solution).

You can try the examples here:

A couple of notes about this package:

- There is 88% code coverage, and full CS compliance with PHP\_CodeSniffer 1.1.0.
- This package meets all test-id.net tests with the exception of SSL validation, as that doesn’t work well in curl for some reason (I’m investigating it).

============ Installation
=========================

[](#installation)

Use composer

```
composer require grantholle/pear-openid
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 72.2% 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 ~286 days

Recently: every ~228 days

Total

8

Last Release

1225d ago

Major Versions

v0.4.0+composer → 1.0.02020-08-18

1.0.4 → 2.0.02023-02-15

PHP version history (3 changes)1.0.0PHP ^7.2

1.0.4PHP ^7.2|^8.0

2.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/57ed974235b4a23e6aaf9d9039bff2b0d1268edc0e44ebab6e60e4bf1e6eb144?d=identicon)[grantholle](/maintainers/grantholle)

---

Top Contributors

[![shupp](https://avatars.githubusercontent.com/u/54022?v=4)](https://github.com/shupp "shupp (122 commits)")[![cweiske](https://avatars.githubusercontent.com/u/59036?v=4)](https://github.com/cweiske "cweiske (25 commits)")[![grantholle](https://avatars.githubusercontent.com/u/1189456?v=4)](https://github.com/grantholle "grantholle (17 commits)")[![vincehodsdon](https://avatars.githubusercontent.com/u/40832?v=4)](https://github.com/vincehodsdon "vincehodsdon (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/grantholle-pear-openid/health.svg)

```
[![Health](https://phpackages.com/badges/grantholle-pear-openid/health.svg)](https://phpackages.com/packages/grantholle-pear-openid)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)[better-futures-studio/filament-local-logins

This is my package filament-local-logins

1334.6k](/packages/better-futures-studio-filament-local-logins)

PHPackages © 2026

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