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