Download the PHP package codebyray/laravel-vehapi without Composer
On this page you can find all versions of the php package codebyray/laravel-vehapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download codebyray/laravel-vehapi
More information about codebyray/laravel-vehapi
Files in codebyray/laravel-vehapi
Package laravel-vehapi
Short Description Vehicle Information API Laravel Package
License MIT
Homepage https://github.com/codebyray/laravel-vehapi
Informations about the package laravel-vehapi
Laravel Vehicle Information API
Vehicle Information API is an API system for retrieving vehicle information to include, vehicle year, make, model, trim, transmission, engine and logos for vehicle makes. For more information on this service or to subscribe, please visit Vehicle Information API
NOTE: This package currently only works to retrieve vehicle data from our API, it will not work to retrieve ANY data from our MOTO API endpoints. We will be adding that ability in a future release.
Installation
You can install the package via composer:
Then include the service provider within you app/config/app.php
.
NOTE: If you're running Laravel 5.5+ this will be auto loaded for you.
Publish the config file (optional)
Setup .env file
Add your API token, API version & API SSL check to your .env file:
NOTE: API version will default to v1, you DO NOT need to specify the version unless you are using a different version of Vehicle Info API. API token is required. However, it can be entered in your .env file (recommended), or the published config file.
Usage
Let's get all the distinct years for all the makes available
Let's get all the distinct years for all the makes available
Let's get all the distinct makes available
Let's get all the distinct makes available for a specific year
Let's get all the distinct makes available for a specific year range
Let's get all the models available for a specific make
Let's get all the models available for a specific year & make
Let's get all the trims levels available for a specific year, make & model
Let's get all the transmissions available for a specific year, make, model & trim
Let's get all the engines available for a specific year, make, model, trim & transmission
Let's get all the wheel options available for a specific year, make, model, trim, transmission & engine
Let's get all the vehicle options available for a specific year, make, model, trim, transmission & engine
Changelog
Please see CHANGELOG for more information what has changed recently.
API Documentation
For a complete list of available API endpoints, visit API documentation
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.