PHPackages                             ajiho/think-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. [Security](/categories/security)
4. /
5. ajiho/think-captcha

ActiveLibrary[Security](/categories/security)

ajiho/think-captcha
===================

captcha package for thinkphp6

V1.0.2(2y ago)0581[1 issues](https://github.com/ajiho/think-captcha/issues)MITPHP

Since Aug 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ajiho/think-captcha)[ Packagist](https://packagist.org/packages/ajiho/think-captcha)[ Docs](https://gitee.com/ajiho/think-captcha)[ RSS](/packages/ajiho-think-captcha/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

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

[](#think-captcha)

基于thinkphp6.0.0+的一个图形验证码拓展包

效果图
===

[](#效果图)

[![](https://camo.githubusercontent.com/f9a5cbd38dccf96a5d9b4d395cf6c41e4946a061d762dd0c6a0258e740788d19/68747470733a2f2f67697465652e636f6d2f616a69686f2f7468696e6b2d636170746368612f7261772f6d61737465722f2e67697465652f696d672f312e706e67)](https://camo.githubusercontent.com/f9a5cbd38dccf96a5d9b4d395cf6c41e4946a061d762dd0c6a0258e740788d19/68747470733a2f2f67697465652e636f6d2f616a69686f2f7468696e6b2d636170746368612f7261772f6d61737465722f2e67697465652f696d672f312e706e67)[![](https://camo.githubusercontent.com/a1e1195d39eb6a5f37bd5d759b7cf992bbc62b2fc4a1e96b3b2f912d04402a61/68747470733a2f2f67697465652e636f6d2f616a69686f2f7468696e6b2d636170746368612f7261772f6d61737465722f2e67697465652f696d672f322e706e67)](https://camo.githubusercontent.com/a1e1195d39eb6a5f37bd5d759b7cf992bbc62b2fc4a1e96b3b2f912d04402a61/68747470733a2f2f67697465652e636f6d2f616a69686f2f7468696e6b2d636170746368612f7261772f6d61737465722f2e67697465652f696d672f322e706e67)[![](https://camo.githubusercontent.com/ccebc8caa5e70bbca7c003283065c18ab5f999bec267cd5c73fdd109bceab934/68747470733a2f2f67697465652e636f6d2f616a69686f2f7468696e6b2d636170746368612f7261772f6d61737465722f2e67697465652f696d672f332e706e67)](https://camo.githubusercontent.com/ccebc8caa5e70bbca7c003283065c18ab5f999bec267cd5c73fdd109bceab934/68747470733a2f2f67697465652e636f6d2f616a69686f2f7468696e6b2d636170746368612f7261772f6d61737465722f2e67697465652f696d672f332e706e67)

优点
==

[](#优点)

- 简单灵活、相对于thinkphp官方的验证码没有过渡包装
- 只提供验证码的生成、没有限定验证码的存储方式,完全自己掌控
- 相对于thinkphp官方的验证码在前后端分离开发时不需要改源码进行适配
- 不用在项目中引入验证码所需的字体文件

安装
==

[](#安装)

```
composer require ajiho/think-captcha

```

配置
==

[](#配置)

安装完毕后会自动生成配置文件 /config/captcha.php

```
