PHP code example of dossierdata / license-plate
1. Go to this page and download the library: Download dossierdata/license-plate library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dossierdata / license-plate example snippets
php
$licenseplate = new \Intrepidity\LicensePlate\DutchLicensePlate('08ttnp');
if($licenseplate->isValid())
{
echo $licenseplate->format(); // Outputs 08-TT-NP in this case
}