PHPackages                             composite/laravel-nhtsa - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. composite/laravel-nhtsa

ActiveLibrary[API Development](/categories/api)

composite/laravel-nhtsa
=======================

API wrapper for NHTSA webservice

00PHP

Since Aug 22Pushed 2y agoCompare

[ Source](https://github.com/Composite-Solutions/laravel-nhtsa)[ Packagist](https://packagist.org/packages/composite/laravel-nhtsa)[ RSS](/packages/composite-laravel-nhtsa/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel NHTSA API wrapper
=========================

[](#laravel-nhtsa-api-wrapper)

Installation
------------

[](#installation)

```
composer require composite/laravel-nhtsa
```

In Laravel 5.5 or above the service provider will automatically get registered. In older versions of the framework just add the service provider in `config/app.php` file:

```
'providers' => [
    ...
    /*
     * Package Service Providers...
     */
    Composite\LaravelNhtsa\VinServiceProvider::class,
    ...
],

'aliases' => [
    ...
    'nhtsa' => Composite\LaravelNhtsa\Facades\Nhtsa::class,
    ...
],
```

Usage
-----

[](#usage)

```
use Composite\LaravelNhtsa\Facades\Nhtsa;

// find by VIN
Nhtsa::vinDecodeService()->find('WBA3A5C51CF256987');
```

### Return object structure

[](#return-object-structure)

```
{
  "Count": 1,
  "Message": "Results returned successfully. NOTE: Any missing decoded values should be interpreted as NHTSA does not have data on the specific variable. Missing value should NOT be interpreted as an indication that a feature or technology is unavailable for a vehicle.",
  "SearchCriteria": "VIN(s): WBA3A5C51CF256987",
  "Results": [
    {
      "ABS": "",
      "ActiveSafetySysNote": "",
      "AdaptiveCruiseControl": "",
      "AdaptiveDrivingBeam": "",
      "AdaptiveHeadlights": "",
      "AdditionalErrorText": "",
      "AirBagLocCurtain": "",
      "AirBagLocFront": "1st Row (Driver and Passenger)",
      "AirBagLocKnee": "1st Row (Driver and Passenger)",
      "AirBagLocSeatCushion": "",
      "AirBagLocSide": "1st Row (Driver and Passenger)",
      "AutoReverseSystem": "",
      "AutomaticPedestrianAlertingSound": "",
      "AxleConfiguration": "",
      "Axles": "",
      "BasePrice": "",
      "BatteryA": "",
      "BatteryA_to": "",
      "BatteryCells": "",
      "BatteryInfo": "",
      "BatteryKWh": "",
      "BatteryKWh_to": "",
      "BatteryModules": "",
      "BatteryPacks": "",
      "BatteryType": "",
      "BatteryV": "",
      "BatteryV_to": "",
      "BedLengthIN": "",
      "BedType": "Not Applicable",
      "BlindSpotIntervention": "",
      "BlindSpotMon": "",
      "BodyCabType": "Not Applicable",
      "BodyClass": "Sedan\/Saloon",
      "BrakeSystemDesc": "",
      "BrakeSystemType": "",
      "BusFloorConfigType": "Not Applicable",
      "BusLength": "",
      "BusType": "Not Applicable",
      "CAN_AACN": "",
      "CIB": "",
      "CashForClunkers": "",
      "ChargerLevel": "",
      "ChargerPowerKW": "",
      "CoolingType": "",
      "CurbWeightLB": "",
      "CustomMotorcycleType": "Not Applicable",
      "DaytimeRunningLight": "",
      "DestinationMarket": "",
      "DisplacementCC": "2000.00",
      "DisplacementCI": "121.8",
      "DisplacementL": "2.00",
      "Doors": "4",
      "DriveType": "",
      "DriverAssist": "",
      "DynamicBrakeSupport": "",
      "EDR": "",
      "ESC": "",
      "EVDriveUnit": "",
      "ElectrificationLevel": "",
      "EngineConfiguration": "",
      "EngineCycles": "",
      "EngineCylinders": "4",
      "EngineHP": "241",
      "EngineHP_to": "",
      "EngineKW": "179.7137",
      "EngineManufacturer": "",
      "EngineModel": "",
      "EntertainmentSystem": "",
      "ErrorCode": "1",
      "ErrorText": "1 - Check Digit (9th position) does not calculate properly",
      "ForwardCollisionWarning": "",
      "FuelInjectionType": "",
      "FuelTypePrimary": "Gasoline",
      "FuelTypeSecondary": "",
      "GCWR": "",
      "GCWR_to": "",
      "GVWR": "",
      "GVWR_to": "",
      "KeylessIgnition": "",
      "LaneCenteringAssistance": "",
      "LaneDepartureWarning": "",
      "LaneKeepSystem": "",
      "LowerBeamHeadlampLightSource": "",
      "Make": "BMW",
      "MakeID": "452",
      "Manufacturer": "BMW AG",
      "ManufacturerId": "966",
      "Model": "328i",
      "ModelID": "1709",
      "ModelYear": "2012",
      "MotorcycleChassisType": "Not Applicable",
      "MotorcycleSuspensionType": "Not Applicable",
      "NCSABodyType": "",
      "NCSAMake": "",
      "NCSAMapExcApprovedBy": "",
      "NCSAMapExcApprovedOn": "",
      "NCSAMappingException": "",
      "NCSAModel": "",
      "NCSANote": "",
      "NonLandUse": "",
      "Note": "",
      "OtherBusInfo": "",
      "OtherEngineInfo": "",
      "OtherMotorcycleInfo": "",
      "OtherRestraintSystemInfo": "Head inflatable restraint for driver, front passenger, rear outboard driver-side, and rear outboard passenger-side. Pretensioners for driver and front passenger.",
      "OtherTrailerInfo": "",
      "ParkAssist": "",
      "PedestrianAutomaticEmergencyBraking": "",
      "PlantCity": "MUNICH",
      "PlantCompanyName": "",
      "PlantCountry": "GERMANY",
      "PlantState": "",
      "PossibleValues": "",
      "Pretensioner": "Yes",
      "RearAutomaticEmergencyBraking": "",
      "RearCrossTrafficAlert": "",
      "RearVisibilitySystem": "",
      "SAEAutomationLevel": "",
      "SAEAutomationLevel_to": "",
      "SeatBeltsAll": "Manual",
      "SeatRows": "",
      "Seats": "",
      "SemiautomaticHeadlampBeamSwitching": "",
      "Series": "3-Series",
      "Series2": "",
      "SteeringLocation": "",
      "SuggestedVIN": "",
      "TPMS": "Direct",
      "TopSpeedMPH": "",
      "TrackWidth": "",
      "TractionControl": "",
      "TrailerBodyType": "Not Applicable",
      "TrailerLength": "",
      "TrailerType": "Not Applicable",
      "TransmissionSpeeds": "",
      "TransmissionStyle": "",
      "Trim": "",
      "Trim2": "",
      "Turbo": "",
      "VIN": "WBA3A5C51CF256987",
      "ValveTrainDesign": "",
      "VehicleDescriptor": "WBA3A5C5*CF",
      "VehicleType": "PASSENGER CAR",
      "WheelBaseLong": "",
      "WheelBaseShort": "",
      "WheelBaseType": "",
      "WheelSizeFront": "",
      "WheelSizeRear": "",
      "Wheels": "",
      "Windows": ""
    }
  ]
}
```

TODO
----

[](#todo)

- Add more endpoints

Credits
-------

[](#credits)

- [Composite Solutions Hungary Kft.](https://composite-solutions.eu)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f258a8fedef0859edd89244d1f353181175ea84a17858f890af75dd2fc67014?d=identicon)[Composite Solutions](/maintainers/Composite%20Solutions)

---

Top Contributors

[![tambabence](https://avatars.githubusercontent.com/u/62600640?v=4)](https://github.com/tambabence "tambabence (2 commits)")

### Embed Badge

![Health badge](/badges/composite-laravel-nhtsa/health.svg)

```
[![Health](https://phpackages.com/badges/composite-laravel-nhtsa/health.svg)](https://phpackages.com/packages/composite-laravel-nhtsa)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
