marxolity / vin-decoder
There is no license information available for the latest version (v1) of this package.
Get vehicle details by using vin
v1
2022-10-20 14:50 UTC
Requires
- guzzlehttp/guzzle: ^7.5
Requires (Dev)
- orchestra/testbench: ^5.0|^6.0|^7.0
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2025-01-28 18:48:01 UTC
README
laravel package: Get vehicle details by using vin (Vin Audit Api)
Installation
composer require marxolity/vin-decoder
Config
php artisan vendor:publish --provider="Marxolity\VinDecoder\Providers\VinDecoderServiceProvider" --tag="config"
Setup -> Env
VIN_DECODER_VIN_AUDIT_API_KEY="<<API_KEY_HERE>>"
config/app.php
'providers' => [ ... Marxolity\VinDecoder\Providers\VinDecoderServiceProvider::class, ], 'aliases' => Facade::defaultAliases()->merge([ ... 'VinDecoder' => Marxolity\VinDecoder\Facades\VinDecoder::class ])->toArray(),
Usage
\VinDecoder::getMarketValueByVin('1NXBR32E85Z505904'); # output: ?array (array or null) \VinDecoder::getVehicleSpecificationByVin('1NXBR32E85Z505904'); # output: ?array (array or null)