Download the PHP package amit-patel/hmrc-vat-validator without Composer
On this page you can find all versions of the php package amit-patel/hmrc-vat-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download amit-patel/hmrc-vat-validator
More information about amit-patel/hmrc-vat-validator
Files in amit-patel/hmrc-vat-validator
Package hmrc-vat-validator
Short Description A Laravel package for validating UK VAT numbers and Business Name using HMRC API
License MIT
Informations about the package hmrc-vat-validator
LARAVEL HMRC VAT VALIDATOR PACKAGE
This package will check UK VAT Number by using HMRC API.
What is this repository for?
- Easily integrte UK VAT Validation
- Also check Business Name of the VAT number belongs to.
How do I Install Package?
You can install the package via composer. Make sure comoser is installed if not then go through https://getcomposer.org/download/
Run the following command: Go to your laravel root directory
How do I Configure Package?
-
Step 1: Publish configuration Run following command:
This command will create a hmrcvatvalidator.php configuration file in your config directory.
-
Step 2: Set below environment variables in your .env file
- Step 3: Cleare all cache To ensure Laravel recognizes your new configuration, clear the configuration cache:
Use guidelines
Once you installation done succesfully. You can check VAT number.
-
Step 1: Setup code in Controller in which you want to verify VAT number.
Step 2: Setup route
Who do I talk to?
- Name: Amit Patel
- LinkedIn: https://www.linkedin.com/in/amit-patel-0420a122/
License
This package is open-source software licensed under the MIT License.