PHPackages                             solleer/oauth-signin - 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. solleer/oauth-signin

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

solleer/oauth-signin
====================

v1.0(6y ago)050PHP

Since Apr 24Pushed 6y agoCompare

[ Source](https://github.com/solleer/OAuth-Signin)[ Packagist](https://packagist.org/packages/solleer/oauth-signin)[ RSS](/packages/solleer-oauth-signin/feed)WikiDiscussions master Synced today

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

OAuth Signin
============

[](#oauth-signin)

The following is an example of how to config these classes using json with Dice.

```
{
    "$office365Provider" : {
        "instanceOf" : "League\\OAuth2\\Client\\Provider\\GenericProvider",
        "constructParams" : [{
            "clientId"                : "your client id",
            "clientSecret"            : "your client secret",
            "redirectUri"             : "your redirect uri",
            "urlAuthorize"            : "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
            "urlAccessToken"          : "https://login.microsoftonline.com/common/oauth2/v2.0/token",
            "urlResourceOwnerDetails" : "",
            "scopes"                  : "openid YourScopes"
        }]
    },
    "Solleer\\OAuthSignin\\SigninHandler\\Office365Auth" : {
        "constructParams" : [
            { "Dice::INSTANCE": "$office365Provider"}
        ]
    },
    "Google_Client" : {
        "instanceOf" : "Solleer\\OAuthSignin\\SigninHandler\\GoogleClientFactory",
        "call" : [
            ["createWithToken", [], "Dice::CHAIN_CALL"],
            ["setAuthConfig", ["Your Google Config Json file"]],
            ["setRedirectUri", ["your redirect uri"]],
            ["addScope", [[
                { "Dice::CONSTANT" :  "Google_Service_Oauth2::USERINFO_EMAIL" },
                "Your Scopes"
            ]]]
        ],
        "shared" : true
    }
}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2208d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16144751?v=4)[Richard](/maintainers/solleer)[@solleer](https://github.com/solleer)

---

Top Contributors

[![solleer](https://avatars.githubusercontent.com/u/16144751?v=4)](https://github.com/solleer "solleer (8 commits)")

### Embed Badge

![Health badge](/badges/solleer-oauth-signin/health.svg)

```
[![Health](https://phpackages.com/badges/solleer-oauth-signin/health.svg)](https://phpackages.com/packages/solleer-oauth-signin)
```

###  Alternatives

[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2509.6M48](/packages/thenetworg-oauth2-azure)[stevenmaguire/oauth2-keycloak

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

2275.9M27](/packages/stevenmaguire-oauth2-keycloak)[patrickbussmann/oauth2-apple

Sign in with Apple OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1132.5M6](/packages/patrickbussmann-oauth2-apple)[microsoft/kiota-authentication-phpleague

Authentication provider for Kiota using the PHP League OAuth 2.0 client to authenticate against the Microsoft Identity platform

153.2M7](/packages/microsoft-kiota-authentication-phpleague)[thathoff/kirby-oauth

Kirby OAuth 2 Plugin

3823.9k](/packages/thathoff-kirby-oauth)

PHPackages © 2026

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