Download the PHP package amattu2/state-inspection-lookup without Composer
On this page you can find all versions of the php package amattu2/state-inspection-lookup. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download amattu2/state-inspection-lookup
More information about amattu2/state-inspection-lookup
Files in amattu2/state-inspection-lookup
Package state-inspection-lookup
Short Description This is a PHP wrapper for finding U.S. state inspection reports by a VIN number using various proprietary DMV endpoints
License AGPL-3.0
Informations about the package state-inspection-lookup
Introduction
This is a basic library/wrapper for digital vehicle state safety/emissions inspection record lookups. If you need to check the last date(s) a vehicle was state inspected, and you know the state, this library is for you. A few states also support returning information on the last emissions/smog test. Originally designed for integration within a automotive service management SaaS application.
States Supported
State | Supported Operations | Notes |
---|---|---|
Maryland | Emissions/Smog, Safety | Pending further tests, but it appears that MD only keeps the e-inspection record until it expires (6 months) |
Usage
Install
Using composer
Manually
Files
Composer: Import the autoload
Manually: Import the core files
Functions
Inspections::all
Retrieve all inspection types (smog/safety inspections)
VIN
is the 17 digit VIN number of the vehicle of interest. STATE_ABBR
is the 2 digit ISO-3166-2 state abbreviation.
Returns an array containing Emissions
, Safety
multi-dimensional arrays.
Inspections::safety
Retrieve all state safety (mechanical) inspection reports.
PHPDoc
Usage
VIN
is the 17 digit VIN number of the vehicle of interest. STATE_ABBR
is the 2 digit ISO-3166-2 state abbreviation.
Returns the following array:
Inspections::emissions
Pull all emissions records for a vehicle.
PHPDoc
Usage
VIN
is the 17 digit VIN number of the vehicle of interest. STATE_ABBR
is the 2 digit ISO-3166-2 state abbreviation.
Returns the following array:
To-Do Integrations
A list of potential integrations with state systems. These require advanced parsing or endpoint manipulation to grab the information.
Safety Inspections
State | Portal |
---|---|
Delaware | Link |
California | Link |
Virginia | Link |
Georgia | Link |
Texas | Link |
Emissions Inspections
State | Portal |
---|
Notes
https://haynes.com/en-us/tips-tutorials/what-know-about-vehicle-inspections-all-50-states
Requirements & Dependencies
PHP 7+