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

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

pear/openid
===========

PHP implementation of OpenID 1.1 and 2.0

v0.5.0(3y ago)37.8k3BSD-2-ClausePHPPHP ^8.0

Since Aug 24Pushed 3y ago2 watchersCompare

[ Source](https://github.com/pear/openid)[ Packagist](https://packagist.org/packages/pear/openid)[ RSS](/packages/pear-openid/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (4)Used By (0)

OpenID
======

[](#openid)

OpenID is a free and easy way to use a single digital identity across the Internet, see  for details. 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 (including `Cache_Lite` and `MDB2` drivers) 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)

```
$ composer require pear/openid
```

Links
-----

[](#links)

HomepageBug tracker[http://pear.php.net/bugs/search.php?cmd=display&amp;package\_name\[\]=OpenID](http://pear.php.net/bugs/search.php?cmd=display&package_name[]=OpenID)Unit test status

[![https://travis-ci.org/pear/openid.svg?branch=master](https://camo.githubusercontent.com/a009e9e207ffb7637ad222b949bd90e303d4ac216cb2392426faeaefd3525970/68747470733a2f2f7472617669732d63692e6f72672f706561722f6f70656e69642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pear/openid)Packagist

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 76.3% 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 ~2034 days

Total

2

Last Release

1154d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1323714f58f9144af310e5e4217e61b96ad7c42bc5c93a1f2d97deca95f6f4f8?d=identicon)[ashnazg](/maintainers/ashnazg)

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

---

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 (33 commits)")[![jeffhodsdon](https://avatars.githubusercontent.com/u/40832?v=4)](https://github.com/jeffhodsdon "jeffhodsdon (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

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