PHPackages                             tanghao2018/hattedcode - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tanghao2018/hattedcode

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tanghao2018/hattedcode
======================

PHP library to create hatted code

1.0.1(9y ago)016MITPHPPHP &gt;=5.3.0

Since Oct 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/rainbow2019s/hattedcode)[ Packagist](https://packagist.org/packages/tanghao2018/hattedcode)[ RSS](/packages/tanghao2018-hattedcode/feed)WikiDiscussions master Synced yesterday

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

hattedcode
==========

[](#hattedcode)

PHP 生成4位随机验证码

用法
==

[](#用法)

\\hattedcode\\HattedCode::create('1234');

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

3474d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/tanghao2018-hattedcode/health.svg)

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

###  Alternatives

[sheadawson/silverstripe-dependentdropdownfield

A silverstripe dropdown field that has it's options populated via ajax, based on the value of the field it depends on

28238.5k21](/packages/sheadawson-silverstripe-dependentdropdownfield)[dansmith/laravel5-foundation

Zurb Foundation components for Laravel5

104.6k](/packages/dansmith-laravel5-foundation)

PHPackages © 2026

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