PHPackages                             ftkj/ftcaptcha - 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. ftkj/ftcaptcha

ActiveLibrary

ftkj/ftcaptcha
==============

1.2(5y ago)07MITPHP

Since Dec 4Pushed 5y ago1 watchersCompare

[ Source](https://github.com/fmjwn/ftkj_captcha)[ Packagist](https://packagist.org/packages/ftkj/ftcaptcha)[ RSS](/packages/ftkj-ftcaptcha/feed)WikiDiscussions master Synced 6d ago

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

think-captcha
=============

[](#think-captcha)

thinkphp5.1 验证码类库 前后端分利用

安装
--

[](#安装)

> composer require ftkj/ftcaptcha

\##使用

### 生成base64 验证码，

[](#生成base64-验证码)

```
$captcha = new FtCaptcha((array) Config::pull('captcha'));
return $captcha->entry();
```

返回：

```
{
    "id": "kb7noqgcglk47rnkj9vknoae51",
    "captcha_base64": "iVBO...=="
}

```

### 验证

[](#验证)

```
$captcha = new FtCaptcha((array) Config::pull('captcha'));
return $captcha->check($code,$id);

```

返回：true / false

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity55

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

Total

3

Last Release

1990d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/ftkj-ftcaptcha/health.svg)

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

PHPackages © 2026

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