-
Notifications
You must be signed in to change notification settings - Fork 12
/
composer.json
executable file
·87 lines (87 loc) · 2.46 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "midnite81/geolocation",
"description": "A laravel package which wraps the IP Info DB and IP2Location Services",
"keywords": [
"sms",
"laravel",
"IpInfoDb",
"IP Info DB",
"Ip2Location",
"Geolocation",
"Location"
],
"license": "MIT",
"authors": [
{
"name": "Simon Rogers",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.1",
"guzzlehttp/guzzle": "^7.0",
"ext-json": "*",
"midnite81/core": "^1.0"
},
"require-dev": {
"laravel/pint": "^1.1",
"phpunit/phpunit": "^9.4",
"mockery/mockery": "^1.0",
"php-coveralls/php-coveralls": "^2.5",
"orchestra/testbench": "^6.3",
"squizlabs/php_codesniffer": "^3.5",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-parallel": "^1.2",
"phpstan/phpstan": "^1.8"
},
"autoload": {
"psr-4": {
"Midnite81\\GeoLocation\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Midnite81\\GeoLocation\\Tests\\": "tests/"
}
},
"scripts": {
"check": [
"@test",
"@phpcs"
],
"test": "XDEBUG_MODE=coverage ./vendor/bin/pest tests --parallel --processes=24",
"test-coverage": "XDEBUG_MODE=coverage ./vendor/bin/pest tests --parallel --processes=24 --coverage --coverage-html build/html --min=70",
"pint": "vendor/bin/pint -v --config=./pint.json",
"pint-test": "vendor/bin/pint --test -v --config=./pint.json",
"stan": "vendor/bin/phpstan --memory-limit=-1",
"coverage": [
"echo 'Testing with coverage'",
"XDEBUG_MODE=coverage ./vendor/bin/pest --parallel --processes=24 --coverage --coverage-html build/html",
"open build/html/index.html"
],
"phpcs": "phpcs src/ --standard=PSR2",
"fix": "phpcbf src/ --standard=PSR2",
"sniff-and-fix": [
"@phpcs",
"@fix"
]
},
"extra": {
"component": "package",
"frameworks": [
"Laravel 6",
"Laravel 7"
],
"laravel": {
"providers": [
"Midnite81\\GeoLocation\\GeoLocationServiceProvider"
]
}
},
"minimum-stability": "stable",
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
}
}
}