PHP code example of karl456 / laravel-vehicle-enquiry-service
1. Go to this page and download the library: Download karl456/laravel-vehicle-enquiry-service library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
karl456 / laravel-vehicle-enquiry-service example snippets
php artisan vendor:publish --provider="Karl456\VehicleEnquiryService\Providers\VehicleEnquiryServiceProvider" --tag="config"
use Karl456\VehicleEnquiryService\Facades\VehicleEnquiryServiceFacade;
$response = VehicleEnquiryServiceFacade::enquire($registrationNumber);
$response->taxStatus;