PHPackages                             zyan/license-plate-number - 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. zyan/license-plate-number

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

zyan/license-plate-number
=========================

车牌生成器

1.0(4y ago)18.3k1MITPHPPHP &gt;=7.4

Since Feb 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/aa24615/license-plate-number)[ Packagist](https://packagist.org/packages/zyan/license-plate-number)[ RSS](/packages/zyan-license-plate-number/feed)WikiDiscussions master Synced 2d ago

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

zyan/license-plate-number
=========================

[](#zyanlicense-plate-number)

国内车牌生成器

已实现

- 普通轿车(蓝牌)
- 粤港澳(黑牌)
- 白色警车
- 白色军车
- 使领馆
- 中型车(黄牌)

效果图 (仅供娱乐,非完全一样)

[![黄牌](img/1.png)](img/1.png)[![蓝牌](img/2.png)](img/2.png)[![白牌](img/3.png)](img/3.png)[![黑牌](img/4.png)](img/4.png)

> 免责声明: 禁止用于伪造车牌等违法行为

要求
--

[](#要求)

1. php &gt;= 7.4
2. Composer

安装
--

[](#安装)

```
composer require zyan/license-plate-number -vvv
```

使用
--

[](#使用)

```
use Zyan\LicensePlateNumber\LicensePlateNumber;

$plate = new LicensePlateNumber('./temp/'); //保存路径

//普通轿车
$res = $plate->blue('京', 'A', "1", "2", "3", "4", "5");

//粤港澳
//$res = $plate->black('粤', 'Z', "6", "7", "8", "9", "港");

//中型车
//$res = $plate->yellow('京', 'A', "6", "7", "8", "9", "0");

//白色警车
//$res = $plate->white('京', 'B', "1", "2", "3", "4", "警");

//获取图片路径
$res->getFilename();
```

参与贡献
----

[](#参与贡献)

1. fork 当前库到你的名下
2. 在你的本地修改完成审阅过后提交到你的仓库
3. 提交 PR 并描述你的修改，等待合并

关于作者
----

[](#关于作者)

- 作者博客 [blog.php127.com](http://blog.php127.com)
- PHP交流群(有问必答) [324098841](https://jq.qq.com/?_wv=1027&k=uw4uy0r3)

License
-------

[](#license)

[MIT license](https://opensource.org/licenses/MIT)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

1543d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/zyan-license-plate-number/health.svg)

```
[![Health](https://phpackages.com/badges/zyan-license-plate-number/health.svg)](https://phpackages.com/packages/zyan-license-plate-number)
```

###  Alternatives

[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[symfony/ux-cropperjs

Cropper.js integration for Symfony

19280.3k3](/packages/symfony-ux-cropperjs)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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