An open API service indexing awesome lists of open source software.

https://github.com/marcelooblan2016/vin-decoder

laravel package: Get vehicle details by using vin (Vin Audit Api)
https://github.com/marcelooblan2016/vin-decoder

laravel-package vin-audit vin-decoder

Last synced: 3 months ago
JSON representation

laravel package: Get vehicle details by using vin (Vin Audit Api)

Awesome Lists containing this project

README

          

# Vin Decoder (Vin Audit)
laravel package: Get vehicle details by using vin (Vin Audit Api)
# Installation
```bash
composer require marxolity/vin-decoder
```
## Config
```bash
php artisan vendor:publish --provider="Marxolity\VinDecoder\Providers\VinDecoderServiceProvider" --tag="config"
```
## Setup -> Env
```bash
VIN_DECODER_VIN_AUDIT_API_KEY="<>"
```
## config/app.php
```php
'providers' => [
...
Marxolity\VinDecoder\Providers\VinDecoderServiceProvider::class,
],
'aliases' => Facade::defaultAliases()->merge([
...
'VinDecoder' => Marxolity\VinDecoder\Facades\VinDecoder::class
])->toArray(),
```
## Usage
```php
\VinDecoder::getMarketValueByVin('1NXBR32E85Z505904'); # output: ?array (array or null)
\VinDecoder::getVehicleSpecificationByVin('1NXBR32E85Z505904'); # output: ?array (array or null)
```