Skip to content

Commit ee6cd24

Browse files
committed
update
1 parent 7dfe707 commit ee6cd24

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ To begin, an API key is required for this module to function. Find further infor
1010
Add the following to your composer.json file:
1111

1212
```
13-
require_once 'class.IP2ProxyAPI.php';
13+
{
14+
"require": {
15+
"ip2location/ip2proxy-php-api": "1.*"
16+
}
17+
}
1418
```
1519

1620
## Usage

composer.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "ip2location/ip2proxy-php-api",
3+
"type": "library",
4+
"description": "PHP module to check if an IP address was being used as open proxy, web proxy, VPN anonymizer and TOR exits via IP2Proxy API.",
5+
"keywords": ["geolocation", "detect vpn", "ip to vpn", "ip2proxy", "tor exits", "open proxy", "web proxy"],
6+
"homepage": "http://www.ip2location.com/",
7+
"license": "LGPL-3.0",
8+
"authors": [
9+
{
10+
"name": "IP2Location",
11+
"email": "[email protected]"
12+
}
13+
],
14+
"require": {
15+
"php": ">=5.3"
16+
},
17+
"autoload": {
18+
"classmap": [
19+
"class.IP2ProxyAPI.php"
20+
]
21+
}
22+
}

0 commit comments

Comments
 (0)