PHPackages                             stfalcon-studio/oauth2-php - 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. stfalcon-studio/oauth2-php

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

stfalcon-studio/oauth2-php
==========================

OAuth2 library

1.2.4(7y ago)04.3kMITPHPPHP ^5.5.9|&gt;=7.0.8

Since Apr 15Pushed 7y ago8 watchersCompare

[ Source](https://github.com/stfalcon-studio/oauth2-php)[ Packagist](https://packagist.org/packages/stfalcon-studio/oauth2-php)[ Docs](https://github.com/FriendsOfSymfony/oauth2-php)[ RSS](/packages/stfalcon-studio-oauth2-php/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (2)Versions (18)Used By (0)

OAuth2 Server Implementation
============================

[](#oauth2-server-implementation)

[![Build Status](https://camo.githubusercontent.com/1ba6bdd1cd12cc1399a29e95bcbe7c2c154acc2749dedbec018c3f039f068d3a/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f467269656e64734f6653796d666f6e792f6f61757468322d7068702e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/FriendsOfSymfony/oauth2-php)[![HHVM Status](https://camo.githubusercontent.com/677a8a79ae113bcaa0bf1f44864fdcb7e12201335dc82db0dc009c35186e429b/687474703a2f2f6868766d2e683463632e64652f62616467652f467269656e64734f6653796d666f6e792f6f61757468322d7068702e737667)](http://hhvm.h4cc.de/package/FriendsOfSymfony/oauth2-php)

This library now implements draft 20 of OAuth 2.0. The client is still only draft-10.

This version of oauth2-php is a fork of  with the following changes:

- Namespaced
- No more require(\_once)
- [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md) autoloading compatible
- Uses [HttpFoundation](https://github.com/symfony/HttpFoundation) Request and Response for input/output
- More testable design
- Better test coverage

(pull request is pending)

 is a fork of  updated against OAuth2.0 draft 20, with a better OO design.

 is the original repository, which seems abandonned.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor3

3 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 ~154 days

Recently: every ~280 days

Total

17

Last Release

2677d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.3.2

1.2.3PHP ^5.5.9|&gt;=7.0.8

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/159215?v=4)[Stepan Tanasiychuk](/maintainers/stfalcon)[@stfalcon](https://github.com/stfalcon)

![](https://avatars.githubusercontent.com/u/815865?v=4)[Artem Henvald](/maintainers/fre5h)[@fre5h](https://github.com/fre5h)

---

Top Contributors

[![arnaud-lb](https://avatars.githubusercontent.com/u/365207?v=4)](https://github.com/arnaud-lb "arnaud-lb (42 commits)")[![alanbem](https://avatars.githubusercontent.com/u/320410?v=4)](https://github.com/alanbem "alanbem (21 commits)")[![willdurand](https://avatars.githubusercontent.com/u/217628?v=4)](https://github.com/willdurand "willdurand (18 commits)")[![hswong3i](https://avatars.githubusercontent.com/u/780562?v=4)](https://github.com/hswong3i "hswong3i (14 commits)")[![opendining](https://avatars.githubusercontent.com/u/645450?v=4)](https://github.com/opendining "opendining (8 commits)")[![SebScoFr](https://avatars.githubusercontent.com/u/22073633?v=4)](https://github.com/SebScoFr "SebScoFr (5 commits)")[![robocoder](https://avatars.githubusercontent.com/u/922051?v=4)](https://github.com/robocoder "robocoder (5 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (5 commits)")[![stloyd](https://avatars.githubusercontent.com/u/67402?v=4)](https://github.com/stloyd "stloyd (4 commits)")[![fre5h](https://avatars.githubusercontent.com/u/815865?v=4)](https://github.com/fre5h "fre5h (3 commits)")[![vbardales](https://avatars.githubusercontent.com/u/1446444?v=4)](https://github.com/vbardales "vbardales (3 commits)")[![adrienbrault](https://avatars.githubusercontent.com/u/611271?v=4)](https://github.com/adrienbrault "adrienbrault (3 commits)")[![aaronpk](https://avatars.githubusercontent.com/u/113001?v=4)](https://github.com/aaronpk "aaronpk (2 commits)")[![asuth](https://avatars.githubusercontent.com/u/46909?v=4)](https://github.com/asuth "asuth (2 commits)")[![jasongrimes](https://avatars.githubusercontent.com/u/847646?v=4)](https://github.com/jasongrimes "jasongrimes (2 commits)")[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (1 commits)")[![pyrech](https://avatars.githubusercontent.com/u/2021641?v=4)](https://github.com/pyrech "pyrech (1 commits)")[![richardfullmer](https://avatars.githubusercontent.com/u/384602?v=4)](https://github.com/richardfullmer "richardfullmer (1 commits)")[![koemeet](https://avatars.githubusercontent.com/u/1569156?v=4)](https://github.com/koemeet "koemeet (1 commits)")[![sasezaki](https://avatars.githubusercontent.com/u/42755?v=4)](https://github.com/sasezaki "sasezaki (1 commits)")

---

Tags

oauthoauth2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/stfalcon-studio-oauth2-php/health.svg)

```
[![Health](https://phpackages.com/badges/stfalcon-studio-oauth2-php/health.svg)](https://phpackages.com/packages/stfalcon-studio-oauth2-php)
```

###  Alternatives

[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.6k136.0M248](/packages/league-oauth2-server)[league/oauth2-client

OAuth 2.0 Client Library

3.8k118.6M1.2k](/packages/league-oauth2-client)[hwi/oauth-bundle

Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony.

2.4k21.5M69](/packages/hwi-oauth-bundle)[knpuniversity/oauth2-client-bundle

Integration with league/oauth2-client to provide services

83416.7M61](/packages/knpuniversity-oauth2-client-bundle)[friendsofsymfony/oauth2-php

OAuth2 library

51618.0M21](/packages/friendsofsymfony-oauth2-php)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)

PHPackages © 2026

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