-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
47 lines (47 loc) · 1.33 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"name": "dominionenterprises/geoip",
"type": "library",
"description": "A self-controlled, self-hosted GeoLocation lookup service.",
"homepage": "http://github.com/dominionenterprises/GeoIP",
"license": "MIT",
"authors": [
{
"name": "Justin Reherman",
"email": "justin.reherman@travelmediagroup.com",
"homepage": "http://github.com/wackyMole",
"role": "Developer"
}
],
"require": {
"geoip2/geoip2": "~2.4",
"php": ">=7.0"
},
"require-dev": {
"internations/http-mock": "*",
"phpunit/phpunit": "~6.1",
"squizlabs/php_codesniffer": "~3.0"
},
"autoload": {
"psr-4": {
"TravelMediaGroup\\": "src/library/"
}
},
"autoload-dev": {
"psr-4": {
"TravelMediaGroupTest\\": "tests/"
}
},
"scripts": {
"post-install-cmd": [
"echo \"Downloading the MaxMind database...\"",
"mkdir -pm a+w db",
"wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz -P db/ -q",
"echo \"Extracting the MaxMind database!\"",
"gunzip db/GeoLite2-City.mmdb.gz &> /dev/null"
],
"cleanup": [
"rm -rf vendor",
"rm -rf db"
]
}
}