PHPackages                             haowanxing/matchyou - 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. haowanxing/matchyou

ActiveLibrary

haowanxing/matchyou
===================

Common Regular Matching Tools

00PHP

Since Nov 20Pushed 6y ago1 watchersCompare

[ Source](https://github.com/haowanxing/matchyou)[ Packagist](https://packagist.org/packages/haowanxing/matchyou)[ RSS](/packages/haowanxing-matchyou/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

MatchYou [![Build Status](https://camo.githubusercontent.com/9c02e7189d6aace63181502c0358a3de9db49ccd58e5a1050a0f7a12322b3a59/68747470733a2f2f7472617669732d63692e6f72672f68616f77616e78696e672f6d61746368796f752e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/haowanxing/matchyou)
=================================================================================================================================================================================================================================================================================================

[](#matchyou-)

普遍实用的匹配校验方法库

1. 身份证校验与提取（支持一代、二代）
2. 手机/电话号码校验
3. URL/域名/IP地址（IPv4/6）格式校验与提取
4. 邮箱格式校验与提取
5. 中英文字符/数字校验

TODO LIST:

1. 护照？

使用方法暂时参照MatcherTest.php

License
-------

[](#license)

The project is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

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://www.gravatar.com/avatar/05c5c79e674132921331612e56f4af659c037a04f9a335d24e38cb3f1e68a934?d=identicon)[haowanxing](/maintainers/haowanxing)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/haowanxing-matchyou/health.svg)

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

PHPackages © 2026

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