PHPackages                             muyu/no-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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. muyu/no-captcha

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

muyu/no-captcha
===============

A completely useless verification code

1.1.1(9y ago)026MITPHPPHP &gt;=5.5.9

Since Dec 29Pushed 9y agoCompare

[ Source](https://github.com/muyu66/no-captcha)[ Packagist](https://packagist.org/packages/muyu/no-captcha)[ RSS](/packages/muyu-no-captcha/feed)WikiDiscussions mainline Synced yesterday

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

Muyu No-Captcha
---------------

[](#muyu-no-captcha)

### Building...

[](#building)

### How to render page ?

[](#how-to-render-page-)

```
public function getCode()
{
    $ctl = new Template();
    return $ctl->view('code', [
        'generate' => 'http://127.0.0.1/auth/code-generate',
        'valid' => 'http://127.0.0.1/auth/code-valid',
        'query' => 'http://127.0.0.1/auth/code-query',
        'name' => 'Muyu',
        'sign' => 'Inc',
        'message' => '吾，非机器人也',
    ]);
}

```

### How to use ?

[](#how-to-use-)

```
private $captcha;

public function __construct()
{
    $this->captcha = new Captcha();

    /**
     * you can choose
     * useFile | useRedis | useMemcache
     * param is driver connection instance
     */

    $this->captcha->useMemcache($memcached);
}

public function postLogin()
{
    if(! $this->getCodeQuery())
    {
        throw new Exception('you are robot');
    }
}

public function getCodeGenerate()
{
    return $this->captcha->generate();
}

public function getCodeValid()
{
    return $this->captcha->valid();
}

private function getCodeQuery()
{
    return $this->captcha->query();
}

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

3

Last Release

3450d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/muyu-no-captcha/health.svg)

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

###  Alternatives

[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k16.8k](/packages/prestashop-prestashop)[metamodels/core

MetaModels core

9956.1k68](/packages/metamodels-core)[contao-community-alliance/dc-general

Universal data container for Contao

1579.5k90](/packages/contao-community-alliance-dc-general)[chaoswey/taiwan-id-validator

台灣身分證、統一編號驗證

319.9k](/packages/chaoswey-taiwan-id-validator)

PHPackages © 2026

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