2017 © Pedro Peláez
 

library licenseplate

Validate license plates

image

pburggraf/licenseplate

Validate license plates

  • Thursday, June 1, 2017
  • by pburggraf
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

LicensePlate Build Status Scrutinizer Code Quality

Easily validate license plates and get some information (planned feature)., (*1)

How to use

use PBurggraf\LicensePlate\LicensePlateFactory;
use PBurggraf\LicensePlate\Detector\GermanyDetector;
use PBurggraf\LicensePlate\Detector\NetherlandsDetector;

// Procedural style
$procedural = LicensePlateFactory::fromString($plate, [
    GermanyDetector::class,
    NetherlandsDetector::class,
]);

// Object orientated
$licensePlate = new LicensePlateFactory($plate);
$licensePlate->addDetectorType(GermanyDetector::class);
$licensePlate->addDetectorType(NetherlandsDetector::class);
$objectOrientated = $licensePlate->getResults();

Test

This project uses phpunit to test the validation of license plates., (*2)

The Versions

01/06 2017

dev-master

9999999-dev

Validate license plates

  Sources   Download

MIT

The Requires

  • php >=5.6

 

The Development Requires

by Philip Burggraf