PHPackages                             adamlundrigan/ldc-zf-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. adamlundrigan/ldc-zf-oauth2-doctrine

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

adamlundrigan/ldc-zf-oauth2-doctrine
====================================

zf-oauth2 adapter for use with Doctrine ORM

37531[1 issues](https://github.com/adamlundrigan/LdcZfOAuth2Doctrine/issues)PHP

Since Nov 15Pushed 11y ago2 watchersCompare

[ Source](https://github.com/adamlundrigan/LdcZfOAuth2Doctrine)[ Packagist](https://packagist.org/packages/adamlundrigan/ldc-zf-oauth2-doctrine)[ RSS](/packages/adamlundrigan-ldc-zf-oauth2-doctrine/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

LdcZfOAuth2Doctrine
===================

[](#ldczfoauth2doctrine)

---

[![Latest Stable Version](https://camo.githubusercontent.com/61c295e2b97c97336e06db1a7c45a6fc5136c6a302ad369f048c88bb06e20343/68747470733a2f2f706f7365722e707567782e6f72672f6164616d6c756e64726967616e2f6c64632d7a662d6f61757468322d646f637472696e652f762f737461626c652e737667)](https://packagist.org/packages/adamlundrigan/ldc-zf-oauth2-doctrine) [![Total Downloads](https://camo.githubusercontent.com/e0819ab8e24026282b561a269013a6747c9608c0483efd32fcdcf8e758aef403/68747470733a2f2f706f7365722e707567782e6f72672f6164616d6c756e64726967616e2f6c64632d7a662d6f61757468322d646f637472696e652f646f776e6c6f6164732e737667)](https://packagist.org/packages/adamlundrigan/ldc-zf-oauth2-doctrine) [![Latest Unstable Version](https://camo.githubusercontent.com/da69608ffc8f082775ac7ded073f70f0fbac600d18bea23823780b3d3cf41441/68747470733a2f2f706f7365722e707567782e6f72672f6164616d6c756e64726967616e2f6c64632d7a662d6f61757468322d646f637472696e652f762f756e737461626c652e737667)](https://packagist.org/packages/adamlundrigan/ldc-zf-oauth2-doctrine) [![License](https://camo.githubusercontent.com/858aaf8082b98ade24dcb85687cfeaa716a9f1201c235982472e85da9ac29782/68747470733a2f2f706f7365722e707567782e6f72672f6164616d6c756e64726967616e2f6c64632d7a662d6f61757468322d646f637472696e652f6c6963656e73652e737667)](https://packagist.org/packages/adamlundrigan/ldc-zf-oauth2-doctrine)[![Build Status](https://camo.githubusercontent.com/85d93077fcd564d936978b0ef5e19dde7a3da7b1fdf7d20149cdb429e6ea92ca/68747470733a2f2f7472617669732d63692e6f72672f6164616d6c756e64726967616e2f4c64635a664f4175746832446f637472696e652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/adamlundrigan/LdcZfOAuth2Doctrine)[![Code Coverage](https://camo.githubusercontent.com/dd67ab9f30dec0c2b39b3694f0cae54c691605704d1d643ecc91657bd76cc415/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6164616d6c756e64726967616e2f4c64635a664f4175746832446f637472696e652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/adamlundrigan/LdcZfOAuth2Doctrine/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/6c60cb20b2a24af1f30c49703edbe90fc681399d8ff98458eafbb7f36da2fc90/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6164616d6c756e64726967616e2f4c64635a664f4175746832446f637472696e652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/adamlundrigan/LdcZfOAuth2Doctrine/?branch=master)

---

What?
-----

[](#what)

LdcZfOAuth2Doctrine implements `zf-oauth2` tables as Doctrine ORM entities. Easily link up any ZfcUser-compatible account entity and bingo-bango they can now authenticate via OAuth2.

**WARNING**: This code is not yet tested, documented or been used in a live environment. Approach with extreme caution.

How?
----

[](#how)

1. Install the [Composer](https://getcomposer.org/) package:

    ```
    composer require adamlundrigan/ldc-zf-oauth2-doctrine:dev-master@dev

    ```
2. Copy the `config/ldc-zf-oauth2-doctrine.local.php.dist` file to you application's `config/autoload` folder and modify to suit.
3. Enable the module (`LdcZfOAuth2Doctrine`) in your ZF2 application.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

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

---

Top Contributors

[![adamlundrigan](https://avatars.githubusercontent.com/u/527329?v=4)](https://github.com/adamlundrigan "adamlundrigan (3 commits)")

### Embed Badge

![Health badge](/badges/adamlundrigan-ldc-zf-oauth2-doctrine/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[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)[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

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

PHPackages © 2026

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