PHPackages                             zlh/geetest - 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. zlh/geetest

ActiveLibrary

zlh/geetest
===========

The geetest for php

00PHP

Since Apr 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/zlh3687/geetest)[ Packagist](https://packagist.org/packages/zlh/geetest)[ RSS](/packages/zlh-geetest/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

 geetest
=========

[](#-geetest-)

 The geetest for php.

简单封装了下极验的行为验证库，参照官方的使用方法。 安装
--

[](#安装)

```
$ composer require zlh/geetest
```

使用示例
----

[](#使用示例)

```
$captchaId = '1231231232131313213123'; //极验应用id
$privateKey = 'keykeykeykeykey'; //极验应用key
$userId = 1; //用户id
$ip = 112.12.52.52  //用户ip
$geetest = new Geetest();
$geetest->StartCaptchaServlet($captchaId,$privateKey,$ip,$userId); //AIP1 获取极验验证
$geetest->VerifyLoginServlet($captchaId,$privateKey,$ip,$userId); //AIP2 二次验证（后端验证）

```

Usage
-----

[](#usage)

TODO

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/zlh/geetest/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/zlh/geetest/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/zlh-geetest/health.svg)

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

PHPackages © 2026

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