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 6d 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 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

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

2274d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4865d624a3fa62f7b6d6a5e1064987da39ee9ad1dce3d111b1d8257d3a545d05?d=identicon)[dacheng](/maintainers/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

[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.6k136.0M248](/packages/league-oauth2-server)[bshaffer/oauth2-server-php

OAuth2 Server for PHP

3.3k15.2M106](/packages/bshaffer-oauth2-server-php)[overtrue/socialite

A collection of OAuth 2 packages.

1.4k5.5M87](/packages/overtrue-socialite)[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

40820.2M68](/packages/auth0-auth0-php)[opauth/opauth

Multi-provider authentication framework for PHP

1.6k783.4k58](/packages/opauth-opauth)[auth0/login

Auth0 Laravel SDK. Straight-forward and tested methods for implementing authentication, and accessing Auth0's Management API endpoints.

2745.0M3](/packages/auth0-login)

PHPackages © 2026

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