PHPackages                             superzc/qqconnect - 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. superzc/qqconnect

ActiveProject

superzc/qqconnect
=================

1.0.1(2y ago)129MITPHP

Since Dec 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/supermanzcj/qqconnect)[ Packagist](https://packagist.org/packages/superzc/qqconnect)[ RSS](/packages/superzc-qqconnect/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

QQConnect Extension Pack
========================

[](#qqconnect-extension-pack)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a3b00fc2400a2e28731ea1e8ae43ec3d247a82eb83d8f80cac7eb97425da3509/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73757065727a632f7171636f6e6e6563742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/superzc/qqconnect)[![Release Version](https://camo.githubusercontent.com/ebefafefbf46967c45dcd8f9c796dede74713ac4ae39a0e22bd2f48ea44857d5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f72656c656173652d312e302e302d7265642e737667)](https://github.com/supermanzcj/qqconnect/releases)

This package provides additional features to the Laravel framework.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require superzc/qqconnect
```

Usage
-----

[](#usage)

修改QQ互联配置文件`config/qqconnect.php`

```
return [
    'appid' => 'xxx',
    'appkey' => 'xxx',
    'callback' => 'https://example.com/qc_redirect.html',
];
```

调用类方法

```
use Superzc\QQConnect\QQConnect;
use Superzc\QQConnect\Exceptions\DefaultException as QCException;

try {
    $qqconnect = new QQConnect();
    $qqconnect->init($openid, $access_token);
    $result = $qqconnect->doSomething();
} catch (MPDefaultException $e) {
    return response()->json([
        'ret' => $e->getCode(),
        'msg' => $e->getMessage(),
    ]);
}
```

使用门面

```
use Superzc\QQConnect\Facades\QQConnect;

try {
    QQConnect::init($openid, $access_token);
    $result = QQConnect::doSomething();
} catch (QCException $e) {
    return response()->json([
        'ret' => $e->getCode(),
        'msg' => $e->getMessage(),
    ]);
}
```

Change log
----------

[](#change-log)

暂无

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Every ~6 days

Total

2

Last Release

886d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3904420e360fecb9afaf012a666c9aa8a545bd43369eb1a4b07e9936c509fbe7?d=identicon)[supermanzcj](/maintainers/supermanzcj)

---

Top Contributors

[![supermanzcj](https://avatars.githubusercontent.com/u/1559675?v=4)](https://github.com/supermanzcj "supermanzcj (14 commits)")

### Embed Badge

![Health badge](/badges/superzc-qqconnect/health.svg)

```
[![Health](https://phpackages.com/badges/superzc-qqconnect/health.svg)](https://phpackages.com/packages/superzc-qqconnect)
```

PHPackages © 2026

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