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)
- Host: GitHub
- URL: https://github.com/marcelooblan2016/vin-decoder
- Owner: marcelooblan2016
- License: gpl-3.0
- Created: 2022-10-19T13:46:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-28T13:31:45.000Z (over 3 years ago)
- Last Synced: 2026-03-01T22:50:50.060Z (4 months ago)
- Topics: laravel-package, vin-audit, vin-decoder
- Language: PHP
- Homepage: https://packagist.org/packages/marxolity/vin-decoder
- Size: 58.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
```