-
Notifications
You must be signed in to change notification settings - Fork 17
/
composer.json
50 lines (50 loc) · 1.52 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
{
"name": "cravler/maxmind-geoip-bundle",
"description": "Bundle integrating MaxMind GeoIP2 database into symfony application",
"type": "symfony-bundle",
"keywords": [
"Symfony",
"MaxMind",
"GeoIP2"
],
"license": "MIT",
"authors": [
{
"name": "Sergei Vizel",
"email": "sergei.vizel@gmail.com",
"homepage": "http://github.com/cravler"
}
],
"require": {
"php": ">=8.1",
"geoip2/geoip2": "^3.0",
"symfony/console": "^6.4|^7.0",
"symfony/dependency-injection": "^6.4|^7.0",
"symfony/framework-bundle": "^6.4|^7.0"
},
"require-dev": {
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-symfony": "^1.3",
"phpstan/extension-installer": "^1.3"
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"autoload": {
"psr-4": { "Cravler\\MaxMindGeoIpBundle\\": "" }
},
"extra": {
"branch-alias": {
"dev-master": "3.x-dev"
}
},
"scripts": {
"pre-commit": [
"[ -d ./tools/php-cs-fixer ] || (mkdir -p ./tools/php-cs-fixer && composer require --no-interaction --working-dir=./tools/php-cs-fixer friendsofphp/php-cs-fixer)",
"./tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff -v --stop-on-violation --using-cache=no --rules=@Symfony,-concat_space ./",
"./vendor/bin/phpstan analyse -c ./phpstan.neon ./"
]
}
}