PHPackages                             linxyyl/mating - 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. linxyyl/mating

ActiveLibrary

linxyyl/mating
==============

1.0.0(5y ago)1497MITPHPPHP &gt;=7.0

Since Nov 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/linxyyl/mating)[ Packagist](https://packagist.org/packages/linxyyl/mating)[ RSS](/packages/linxyyl-mating/feed)WikiDiscussions master Synced 5d ago

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

#### 安装

[](#安装)

`composer require linxyyl/mating`

也可以直接复制Mating.php文件

---

\####PHP随机字符串生成

`Mating:: upperString();` 生成一个随机英文大写字符串,可用参数指定长度,默认32位,最长1024

`Mating:: lowerString();` 生成一个随机英文小写字符串,可用参数指定长度,默认32位,最长1024

`Mating:: numberString();` 生成一个随机纯数字,可用参数指定长度,默认32位,最长1024

`Mating:: superString();` 生成一个随机超级字符串,默认32位

---

简单好用的小玩意 喜欢的请不要吝啬star

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

1994d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/linxyyl-mating/health.svg)

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

PHPackages © 2026

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