forked from Torann/laravel-geoip
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
70 lines (70 loc) · 1.92 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
{
"name": "interaction-design-foundation/laravel-geoip",
"description": "Support for multiple Geographical Location services.",
"license": "BSD-2-Clause",
"keywords": [
"laravel",
"geoip",
"geographical",
"location",
"geolocation",
"IP API",
"infoDB"
],
"require": {
"php": "^8.1",
"illuminate/cache": "^10.0 || ^11.0",
"illuminate/console": "^10.0 || ^11.0",
"illuminate/support": "^10.0 || ^11.0",
"monolog/monolog": "^3.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.50",
"geoip2/geoip2": "^3.0",
"orchestra/testbench": "^8.8 || ^9.0",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.5 || ^11.0",
"squizlabs/php_codesniffer": "^3.9",
"vimeo/psalm": "^5.25"
},
"suggest": {
"geoip2/geoip2": "Required to use the MaxMind database or web service with GeoIP (~2.1).",
"monolog/monolog": "Allows for storing location not found errors to the log"
},
"autoload": {
"psr-4": {
"InteractionDesignFoundation\\GeoIP\\": "src/"
},
"files": [
"src/helpers.php"
]
},
"autoload-dev": {
"psr-4": {
"InteractionDesignFoundation\\GeoIP\\Tests\\": "tests/"
}
},
"config": {
"sort-packages": true
},
"extra": {
"laravel": {
"aliases": {
"GeoIP": "InteractionDesignFoundation\\GeoIP\\Facades\\GeoIP"
},
"providers": [
"InteractionDesignFoundation\\GeoIP\\GeoIPServiceProvider"
]
}
},
"scripts": {
"cs": "@php-cs-fixer",
"php-cs-fixer": "@php -d memory_limit=-1 vendor/bin/php-cs-fixer fix --no-interaction --ansi --verbose",
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml src",
"phpstan": "vendor/bin/phpstan --level=0 --no-progress analyse --configuration phpstan.neon --memory-limit 2G",
"psalm": "vendor/bin/psalm",
"sa": "@psalm",
"sa:bl": "@psalm --set-baseline=psalm-baseline.xml",
"test": "vendor/bin/phpunit"
}
}