Skip to content
/ is_vin Public

Validates a vehicle identification number against the ISO 3779 standard.

Notifications You must be signed in to change notification settings

ramaboo/is_vin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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.

About

Validates a vehicle identification number against the ISO 3779 standard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages