PHPackages                             adamlundrigan/ldc-zfc-user-oauth2 - 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-zfc-user-oauth2

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

adamlundrigan/ldc-zfc-user-oauth2
=================================

OAuth2 server integration for ZfcUser

1.0.0(11y ago)115869[3 issues](https://github.com/adamlundrigan/LdcZfcUserOAuth2/issues)[1 PRs](https://github.com/adamlundrigan/LdcZfcUserOAuth2/pulls)BSD-3-ClausePHP

Since Nov 8Pushed 8y ago3 watchersCompare

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

READMEChangelog (1)Dependencies (6)Versions (3)Used By (0)

LdcZfcUserOAuth2
================

[](#ldczfcuseroauth2)

What?
-----

[](#what)

An extension for [`zf-oauth2`](https://github.com/zfcampus/zf-oauth2) allowing use of ZfcUser as authentication source

---

[![Latest Stable Version](https://camo.githubusercontent.com/d62d3a3f9700d07c54d7211a59779c29a7a4c45da9d2143bbd0adcd02b352ecf/68747470733a2f2f706f7365722e707567782e6f72672f6164616d6c756e64726967616e2f6c64632d7a66632d757365722d6f61757468322f762f737461626c652e737667)](https://packagist.org/packages/adamlundrigan/ldc-zfc-user-oauth2) [![License](https://camo.githubusercontent.com/2e39890135559c1e36c40e93053f672b20edf71b8b1e8e7c67200a4b3c971c06/68747470733a2f2f706f7365722e707567782e6f72672f6164616d6c756e64726967616e2f6c64632d7a66632d757365722d6f61757468322f6c6963656e73652e737667)](https://packagist.org/packages/adamlundrigan/ldc-zfc-user-oauth2) [![Build Status](https://camo.githubusercontent.com/e7dcff4ab05555e99fa690ee8d7a601bf0c0cc81582fba93ae855f606f7a8fb2/68747470733a2f2f7472617669732d63692e6f72672f6164616d6c756e64726967616e2f4c64635a6663557365724f41757468322e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/adamlundrigan/LdcZfcUserOAuth2) [![Code Coverage](https://camo.githubusercontent.com/24261f1423b26602ca49405ff57add3b30215a7e34ed2c110ed04bef60723884/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6164616d6c756e64726967616e2f4c64635a6663557365724f41757468322f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/adamlundrigan/LdcZfcUserOAuth2/?branch=master) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/4d033da6ba15fe9fce1619a1d5cd11de4d0d3089493f3de7524a2ef587572f24/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6164616d6c756e64726967616e2f4c64635a6663557365724f41757468322f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/adamlundrigan/LdcZfcUserOAuth2/?branch=master)

---

How?
----

[](#how)

1. Install module using Composer

    ```
    composer require adamlundrigan/ldc-zfc-user-oauth2:

    ```
2. Enable required modules in your `application.config.php` file:

    - ZfcBase
    - ZfcUser
    - LdcZfcUserOAuth2
3. Configure ZfcUser
4. Override the `zf-ouath2` configuration to use the provided storage provider:

    ```
     return array(
        'zf-oauth2' => array(
            'storage' => 'ldc-zfc-user-oauth2-storage-pdo',
        ),
    );

    ```
5. Override the authentication adapter used by ZfcUser. Locate the `auth_adapters` key in your `zfc-user.global.php` config file and replace it with this:

    ```
    'auth_adapters' => array( 100 => 'ldc-zfc-user-oauth2-authentication-adapter-db' ),

    ```

TODO
----

[](#todo)

- Use ZfcUser's authentication mechanism in OAuth2 server
- Populate ZfcUser auth storage when OAuth2 server authentication succeeds
- Some tests might be a good idea
- Some documentation and an example might also be good ideas

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4209d ago

### 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 (23 commits)")

---

Tags

apigilityzfcuserzf-oauth2

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[goalio/goalio-forgotpassword

Adding Forgot Password functionalitiy to ZfcUser

4362.2k1](/packages/goalio-goalio-forgotpassword)[socalnick/scn-social-auth

Uses the HybridAuth PHP library to Enable authentication via Google, Facebook, Twitter, Yahoo!, etc for the ZfcUser ZF2 module.

21974.2k3](/packages/socalnick-scn-social-auth)[goalio/goalio-rememberme

Adding Remember Me functionalitiy to ZfcUser

3243.5k3](/packages/goalio-goalio-rememberme)[mtudor/zfc-user-impersonate

Facilitate impersonation of other users in ZfcUser.

10118.3k](/packages/mtudor-zfc-user-impersonate)

PHPackages © 2026

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