PHPackages                             illmy/yhlicense - 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. illmy/yhlicense

ActiveLibrary

illmy/yhlicense
===============

check license

04PHP

Since Jun 5Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

yhlicense
=========

[](#yhlicense)

use illmy\\Yhlicense\\Yhlicense;

$license = new Yhlicense('哈哈，我的车牌号是月A一二哈哈西尔克司s,桂阳的贵',\['pattern' =&gt; \['西','尔克司'\],'replacement' =&gt; \['C','X'\]\],\['哈','逗'\]); $data = $license-&gt;filterLicense();

var\_dump($data);

构造函数接受4个参数
1 需要提取的字符串 2 需要替换的字符 3 需要过滤掉的字符 4 查找字符 权重高

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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/e7a8478d457418ca5a2a296e1f4bfd9c57d1faffca2fa103466302713a767a48?d=identicon)[illmy](/maintainers/illmy)

---

Top Contributors

[![illmy](https://avatars.githubusercontent.com/u/38059607?v=4)](https://github.com/illmy "illmy (6 commits)")[![biechuyingrao](https://avatars.githubusercontent.com/u/13621039?v=4)](https://github.com/biechuyingrao "biechuyingrao (2 commits)")

### Embed Badge

![Health badge](/badges/illmy-yhlicense/health.svg)

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

PHPackages © 2026

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