plate/plate 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

plate/plate

Composer 安装命令:

composer require plate/plate

包简介

this package can help you to work on iranian vehicle plate numbers

README 文档

README

Requirements:

  • php ~5.4.*

Instalation:

First add package name to your composer requirements

"require": {
    "plate/plate": "dev"
}

Next, update Composer from the Terminal:

composer update

Next, add your new provider to the providers array of config/app.php:

'providers' => [
    // ...
    Plate\PlateServiceProvider::class,
    // ...
  ]

Next, add class alias to the aliases array of config/app.php:

'aliases' => [
   // ...
      'Plate' => Plate\PlateFacade::class
    // ...
]

Finally, run:

php artisan vendor:publish

Ho to use:

  $plate = new Plate\Plate();
  $plak = 21 .
      ' ب ' .
      488 .
      ' - ' .
      88 .
      ' ایران';

  $r = $plate->setPlate($plak);
  print_r($r->getparsedData()); exit;
  print_r($plate->isCab());

Get plate as image

  $plate->getImage('path/to/export/image.png');

Add date to image

  $plate->withDate('95-05-01')->getImage('path/to/export/image.png');

统计信息

  • 总下载量: 120
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2016-10-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固