Download the PHP package kerrigan/laravel-dvla without Composer
On this page you can find all versions of the php package kerrigan/laravel-dvla. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kerrigan/laravel-dvla
More information about kerrigan/laravel-dvla
Files in kerrigan/laravel-dvla
Package laravel-dvla
Short Description Cached DVLA lookup service for use with Laravel.
License MIT
Homepage https://github.com/PJKerrigan/laravel-data
Informations about the package laravel-dvla
This Laravel package can retrieve and cache vehicle information from the UK DVLA.
Installation
This package relies upon PHP 8.4, as it uses a number of relatively new language features with which I wanted to get to grips.
You can install the package via composer:
The package will automatically register itself.
Then assign values to the environment variables mentioned in the dvla.php configuration file.
You can publish the config file with:
These are the contents of the published config file:
Usage
Basic usage
Simply use app(VehicleLookupService::class) to instantiate the service according to your configuration.
Then invoke the vehicleLookup() method, passing in a suitable valid UK registration string, e.g. AA01AAA.
All versions of laravel-dvla with dependencies
illuminate/cache Version ^10.0|^11.0|^12.0
illuminate/container Version ^10.0|^11.0|^12.0
illuminate/support Version ^10.0|^11.0|^12.0
nesbot/carbon Version ^3.11
spatie/laravel-data Version ^4.18