PHPackages                             arui/tc-captcha - 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. arui/tc-captcha

ActiveLibrary

arui/tc-captcha
===============

sdk for QQ Cloud Catcha Service

1.4(3y ago)082MITPHP

Since Nov 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/arui0609/TcCaptcha)[ Packagist](https://packagist.org/packages/arui/tc-captcha)[ RSS](/packages/arui-tc-captcha/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (6)Used By (0)

Tencent Captcha Sdk
===================

[](#tencent-captcha-sdk)

A Simple SDK for Tencent Cloud Captcha

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

[](#installation)

Package is available on Packagist, you can install it using Composer.

> composer require arui/tc-captcha

### Dependencies

[](#dependencies)

- PHP 7.0+
- OpenSSL Extension
- Laravel 6+

### Parameter setting

[](#parameter-setting)

> php artisan vendor publish --provider="Arui\\TcCaptcha\\TcCaptchaProvider"

.env

```
QQ_CAPTCHA_SECRET_ID=
QQ_CAPTCHA_SECRET_KEY=
QQ_CAPTCHA_SECRET_APPID=
QQ_CAPTCHA_SECRET_APPKEY=

```

### How to use

[](#how-to-use)

```
use Arui\TcCaptcha\Facades\TcCaptchaFacade;

try {
    $res = TcCaptchaFacade::DescribeCaptchaResult($request->ticket, $request->randstr, Utils::getIp());
    if($res !== true){
        throw new \Exception($res);
    }
} catch (\Exception $e) {
    $response =  ['message' => $e->getMessage(),'code' => 430];
    return response()->json($response);
}

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Total

5

Last Release

1131d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2b4873832813c759274ed356370474eec90db2579a63ed4c4b17e1f9a3d14d6?d=identicon)[arui](/maintainers/arui)

---

Top Contributors

[![arui0609](https://avatars.githubusercontent.com/u/62299604?v=4)](https://github.com/arui0609 "arui0609 (6 commits)")

### Embed Badge

![Health badge](/badges/arui-tc-captcha/health.svg)

```
[![Health](https://phpackages.com/badges/arui-tc-captcha/health.svg)](https://phpackages.com/packages/arui-tc-captcha)
```

PHPackages © 2026

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