-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcomposer.json
More file actions
60 lines (60 loc) · 1.61 KB
/
composer.json
File metadata and controls
60 lines (60 loc) · 1.61 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "middlewares/geolocation",
"type": "library",
"description": "Middleware to geolocate the client using the ip address",
"license": "MIT",
"keywords": [
"psr-7",
"psr-15",
"middleware",
"server",
"http",
"ip",
"geolocation",
"geocode"
],
"homepage": "https://github.com/middlewares/geolocation",
"support": {
"issues": "https://github.com/middlewares/geolocation/issues"
},
"require": {
"php": "^7.2 || ^8.0",
"willdurand/geocoder": "^4 || ^5",
"php-http/message": "^1",
"psr/http-server-middleware": "^1"
},
"require-dev": {
"phpunit/phpunit": "^8 || ^9",
"friendsofphp/php-cs-fixer": "^3",
"squizlabs/php_codesniffer": "^3",
"middlewares/utils": "^2 || ^3 || ^4",
"php-http/guzzle7-adapter": "^1",
"geocoder-php/free-geoip-provider": "^4",
"phpstan/phpstan": "^1 || ^2",
"laminas/laminas-diactoros": "^2 || ^3",
"oscarotero/php-cs-fixer-config": "^2"
},
"autoload": {
"psr-4": {
"Middlewares\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Middlewares\\Tests\\": "tests/"
}
},
"scripts": {
"cs": "phpcs",
"cs-fix": "php-cs-fixer fix",
"phpstan": "phpstan analyse",
"test": "phpunit",
"coverage": "phpunit --coverage-text",
"coverage-html": "phpunit --coverage-html=coverage"
},
"config": {
"allow-plugins": {
"php-http/discovery": false
}
}
}