# daviddesberg/PHPoAuthLib

PHP 5.3+ oAuth 1/2 Client Library

Repository: https://github.com/daviddesberg/PHPoAuthLib
Canonical: https://ross.abutalabs.com/products/phpoauthlib
Language: PHP
License: NOASSERTION
License Family: other
Last push: 2024-01-08T21:46:43+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5144, "days_push": 968, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1077, forks 447 (observed 2026-08-28T04:03:29.652625+00:00)

## What it is
PHPoAuthLib is a PHP client library providing OAuth 1.x and OAuth 2.0 support with prebuilt service implementations for dozens of providers like Google, GitHub, Facebook, and Twitter. It is fully extensible, allowing custom HTTP clients and token storage backends (session, in-memory, Redis).

## Use cases
- add oauth login with google to a php app
- authenticate users via github oauth in php
- connect to twitter api with oauth 1 in php
- get facebook access token in php
- implement oauth2 client for spotify in php
- store oauth tokens in redis with php

## When to choose
- you need OAuth 1 or OAuth 2 client support in a PHP 7.2+ project
- you want prebuilt integrations for many popular OAuth providers
- you need pluggable token storage or custom HTTP client support

## When to avoid
- you need a fully maintained library with active development
- you need an OAuth server/provider implementation rather than a client
- your project uses a framework with its own maintained OAuth packages

## Facets
- artifact type: library
- maturity: maintenance
- function: auth, http-client, sdk
- domain: web-development, apis, security
- platform: php
- tags: oauth1, oauth2, composer-package, psr-4, token-storage, web-server

## Member repositories
- daviddesberg/PHPoAuthLib (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:29.652625+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:53:14.282922+00:00, confidence not recorded.
  - readme: https://github.com/daviddesberg/PHPoAuthLib (fetched 2026-08-28T04:03:29.652625+00:00, sha 91caeb66e66c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
