Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Validates a vehicle identification number against the ISO 3779 standard.
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
is_vin-1.1.5.php

README.md

Vehicle Identification Number (VIN)

Validation function written in PHP. Validates against the ISO 3779 standard.

See: http://en.wikipedia.org/wiki/Vehicle_identification_number

Example:

if (is_vin('1M8GDM9AXKP042788')) {
     echo 'valid';
} else {
     echo 'not valid';
}

This function will work for any US/Canadian automobile made after January 1st, 1980.

Tested with PHP 5.2.x however it should work with older versions.

Something went wrong with that request. Please try again.