PHPackages                             cantjie/oauth2-laravel-eeyes - 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. cantjie/oauth2-laravel-eeyes

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

cantjie/oauth2-laravel-eeyes
============================

由于不太会用league/Oauth2client包，自己写一个类似的

026PHP

Since Feb 25Pushed 8y agoCompare

[ Source](https://github.com/cantjie/oauth2-laravel-eeyes)[ Packagist](https://packagist.org/packages/cantjie/oauth2-laravel-eeyes)[ RSS](/packages/cantjie-oauth2-laravel-eeyes/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

oauth2-laravel-eeyes
====================

[](#oauth2-laravel-eeyes)

由于不太会用league/Oauth2client包，自己写了一个。 在env文件中设置好

```
    OAUTH_CLIENT_ID
    OAUTH_CLIENT_SECRET
    OAUTH_REDIRECT_URI

```

即可使用

```

    $provider = new Provider();
    $user = $provider->getResourceOwner();

    if(($pre_page = $user->getPrePage())){
        return redirect($pre_paget);
    }
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

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/6bd7baed14a64b137645faf5177d6f81642b49bd654f25291371c395a9ddb859?d=identicon)[cantjie](/maintainers/cantjie)

---

Top Contributors

[![cantjie](https://avatars.githubusercontent.com/u/25790031?v=4)](https://github.com/cantjie "cantjie (10 commits)")

### Embed Badge

![Health badge](/badges/cantjie-oauth2-laravel-eeyes/health.svg)

```
[![Health](https://phpackages.com/badges/cantjie-oauth2-laravel-eeyes/health.svg)](https://phpackages.com/packages/cantjie-oauth2-laravel-eeyes)
```

###  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)
