Code Monkey home page Code Monkey logo

license-plate-number's Introduction

zyan/license-plate-number

国内车牌生成器

已实现

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

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

黄牌 蓝牌 白牌 黑牌

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

要求

  1. php >= 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 并描述你的修改,等待合并

关于作者

License

MIT license

license-plate-number's People

Contributors

aa24615 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

svipchao

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.