PHPackages                             api-skeletons/oauth2-doctrine - 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. [Database &amp; ORM](/categories/database)
4. /
5. api-skeletons/oauth2-doctrine

ActiveLibrary[Database &amp; ORM](/categories/database)

api-skeletons/oauth2-doctrine
=============================

Doctrine OAuth2 Adapter for Laminas Api Tools

5.2.0(2y ago)466.9k↑833.3%9[4 issues](https://github.com/API-Skeletons/oauth2-doctrine/issues)5MITPHPPHP ~8.0.0 || ~8.1.0 || ~8.2.0

Since Mar 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/API-Skeletons/oauth2-doctrine)[ Packagist](https://packagist.org/packages/api-skeletons/oauth2-doctrine)[ RSS](/packages/api-skeletons-oauth2-doctrine/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (22)Versions (5)Used By (5)

OAuth2 Doctrine ORM Adapter for Laminas API Tools
=================================================

[](#oauth2-doctrine-orm-adapter-for-laminas-api-tools)

[![Build Status](https://github.com/api-skeletons/oauth2-doctrine/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/API-Skeletons/oauth2-doctrine/actions/workflows/continuous-integration.yml?query=branch%3Amain)[![Documentation Status](https://camo.githubusercontent.com/7730066a1079e895013cefa0bb5d53569702ad0ba487781aa7b94fc28772ce2d/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f646f637472696e652d696e2d61706967696c6974792d646f63732f62616467652f3f76657273696f6e3d6c6174657374)](http://doctrine-in-apigility-docs.readthedocs.io/en/latest/api-tools-oauth2-doctrine/index.html)[![Total Downloads](https://camo.githubusercontent.com/32284953cd72258acd9967fab27ee863d0b6d981b02e2e00040c402ab4988eab/68747470733a2f2f706f7365722e707567782e6f72672f6170692d736b656c65746f6e732f6f61757468322d646f637472696e652f646f776e6c6f616473)](https://packagist.org/packages/api-skeletons/oauth2-doctrine)

This provides a Doctrine adapter for [laminas-api-tools/api-tools-mvc-auth](https://github.com/laminas-api-tools/api-tools-mvc-auth) and [laminas-api-tools/api-tools-oauth2](https://github.com/laminas-api-tools/api-tools-oauth2) and entity definitions for all aspects of OAuth2 including Authorization Code, Access Tokens, Refresh Tokens, JWT &amp; JTI, and Scopes.

[![Entity Relationship Diagram](https://raw.githubusercontent.com/API-Skeletons/oauth2-doctrine/master/media/oauth2-doctrine-erd.png)](https://raw.githubusercontent.com/API-Skeletons/oauth2-doctrine/master/media/oauth2-doctrine-erd.png)Entity Relationship Diagram created with [Skipper](https://skipper18.com)

[Read The Documentation](https://apiskeletons-oauth2-doctrine.readthedocs.io/en/latest/index.html)
==================================================================================================

[](#read-the-documentation)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 85.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 ~484 days

Total

4

Last Release

810d ago

Major Versions

4.0.0 → 5.0.02020-07-17

PHP version history (4 changes)4.0.0PHP ^7.2

5.0.0PHP ^7.3

5.1.0PHP ^8.0

5.2.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/49dd7d9dba889ac674b0da447d9c1e69d1128dc3ccbaef98ba83d6ee519fc2d6?d=identicon)[tom\_anderson](/maintainers/tom_anderson)

---

Top Contributors

[![TomHAnderson](https://avatars.githubusercontent.com/u/493920?v=4)](https://github.com/TomHAnderson "TomHAnderson (163 commits)")[![basz](https://avatars.githubusercontent.com/u/143068?v=4)](https://github.com/basz "basz (11 commits)")[![thomasvargiu](https://avatars.githubusercontent.com/u/732012?v=4)](https://github.com/thomasvargiu "thomasvargiu (5 commits)")[![viniciusgava](https://avatars.githubusercontent.com/u/831829?v=4)](https://github.com/viniciusgava "viniciusgava (3 commits)")[![alexz707](https://avatars.githubusercontent.com/u/562324?v=4)](https://github.com/alexz707 "alexz707 (2 commits)")[![gulerGTS](https://avatars.githubusercontent.com/u/159452110?v=4)](https://github.com/gulerGTS "gulerGTS (2 commits)")[![juizmill](https://avatars.githubusercontent.com/u/1959742?v=4)](https://github.com/juizmill "juizmill (1 commits)")[![sergiohermes](https://avatars.githubusercontent.com/u/1915564?v=4)](https://github.com/sergiohermes "sergiohermes (1 commits)")[![hagmann](https://avatars.githubusercontent.com/u/11349379?v=4)](https://github.com/hagmann "hagmann (1 commits)")[![DannyvdSluijs](https://avatars.githubusercontent.com/u/618940?v=4)](https://github.com/DannyvdSluijs "DannyvdSluijs (1 commits)")[![Alfredao](https://avatars.githubusercontent.com/u/815781?v=4)](https://github.com/Alfredao "Alfredao (1 commits)")

---

Tags

laminasdoctrineoauth2api-tools

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/api-skeletons-oauth2-doctrine/health.svg)

```
[![Health](https://phpackages.com/badges/api-skeletons-oauth2-doctrine/health.svg)](https://phpackages.com/packages/api-skeletons-oauth2-doctrine)
```

###  Alternatives

[doctrine/doctrine-orm-module

Laminas Module that provides Doctrine ORM functionality

4407.3M293](/packages/doctrine-doctrine-orm-module)[doctrine/doctrine-module

Laminas Module that provides Doctrine basic functionality required for ORM and ODM modules

3957.9M116](/packages/doctrine-doctrine-module)[doctrine/doctrine-mongo-odm-module

Laminas Module which provides Doctrine MongoDB ODM functionality

86676.6k35](/packages/doctrine-doctrine-mongo-odm-module)[laminas-api-tools/api-tools-admin

Laminas API Tools Admin module

13794.3k5](/packages/laminas-api-tools-api-tools-admin)[laminas-api-tools/api-tools-doctrine

Laminas API Tools Doctrine module

10633.9k5](/packages/laminas-api-tools-api-tools-doctrine)[zfc-datagrid/zfc-datagrid

Laminas Module that provides a datagrid for different datasources and output formats

1223.2k](/packages/zfc-datagrid-zfc-datagrid)

PHPackages © 2026

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