library licenseplate
Validate license plates
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
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)
dev-master
9999999-dev
Validate license plates
Sources
Download
MIT
The Requires
The Development Requires
by
Philip Burggraf