Skip to content

Commit ed3de19

Browse files
author
Venelin Manchev
committed
feat: composer support
1 parent 6d314f6 commit ed3de19

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
nbproject/
2-
2+
vendor/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Validate a VAT number against the official European Commission VIES VAT number v
44

55
## How to install
66

7-
TBD
7+
composer require "toxicdigital/vat-validator"
88

99
## How to use
1010

composer.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "toxicdigital/vat-validator",
3+
"description": "Validate a VAT number against the official European Commission VIES VAT number validation SOAP service.",
4+
"type": "library",
5+
"require": {
6+
"php": ">=7.0.0",
7+
"ext-soap": "*"
8+
},
9+
"license": "MIT",
10+
"authors": [
11+
{
12+
"name": "Venelin Manchev",
13+
"email": "venelinphp@gmail.com"
14+
}
15+
],
16+
"autoload": {
17+
"psr-0": {
18+
"Toxic": "src/Toxic"
19+
}
20+
}
21+
}

0 commit comments

Comments
 (0)