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.5CI failing

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 yesterday

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 40% 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

2368d 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

121269.8k1](/packages/ellaisys-aws-cognito)[overtrue/socialite

A collection of OAuth 2 packages.

1.4k5.7M90](/packages/overtrue-socialite)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k55](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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