PHPackages                             successgo/success-auth - 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. successgo/success-auth

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

successgo/success-auth
======================

Make oauth login easy

v1.1(6y ago)02.1k[1 issues](https://github.com/dacheng-gao/success-auth/issues)MITPHPPHP ^7.2.5

Since Feb 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/dacheng-gao/success-auth)[ Packagist](https://packagist.org/packages/successgo/success-auth)[ RSS](/packages/successgo-success-auth/feed)WikiDiscussions master Synced 3w ago

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

SuccessAuth
===========

[](#successauth)

Make auth login easy

Install
-------

[](#install)

```
composer require "successgo/success-auth:^1.0" -vvv
```

Use
---

[](#use)

```
// build config
$config = \SuccessGo\SuccessAuth\Config\AuthConfigBuilder::builder()
    ->clientId('Client Id')
    ->clientSecret('Client Secret')
    ->redirectUri('Redirect Uri')
    ->build();

// build the auth request
$authRequest = new \SuccessGo\SuccessAuth\Request\AuthRequest\WechatOpenAuthRequest($config, new \SuccessGo\SuccessAuth\Config\AuthSource\WechatOpenAuthSource());

// build auth callback
$authCallback = \SuccessGo\SuccessAuth\Model\AuthCallbackBuilder::builder()->code('Code')->build();

// get the auth response
$authResponse = $authRequest->login($authCallback);

if ($authResponse->isOk()) {
    // Do your business here
}
```

Acknowledgement
---------------

[](#acknowledgement)

- JustAuth
- YunrunOAuthLogin

LICENSE
-------

[](#license)

See

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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 ~5 days

Total

2

Last Release

2323d ago

### Community

Maintainers

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

---

Tags

oauthauthoauth

### Embed Badge

![Health badge](/badges/successgo-success-auth/health.svg)

```
[![Health](https://phpackages.com/badges/successgo-success-auth/health.svg)](https://phpackages.com/packages/successgo-success-auth)
```

###  Alternatives

[overtrue/socialite

A collection of OAuth 2 packages.

1.4k5.7M90](/packages/overtrue-socialite)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[casdoor/casdoor-php-sdk

PHP client SDK for Casdoor

2420.3k](/packages/casdoor-casdoor-php-sdk)[chervand/yii2-oauth2-server

OAuth 2.0 server for Yii 2.0 with MAC tokens support.

1524.7k1](/packages/chervand-yii2-oauth2-server)

PHPackages © 2026

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