Skip to content

Commit 8ac9bd8

Browse files
authored
Merge pull request #13 from InteractionDesignFoundation/normalize-composer
Normalize composer.json
2 parents 07c6749 + 658a05f commit 8ac9bd8

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

composer.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "interaction-design-foundation/laravel-geoip",
33
"description": "Support for multiple GeoIP services.",
4+
"license": "BSD-2-Clause",
45
"keywords": [
56
"laravel",
67
"geoip",
@@ -10,55 +11,54 @@
1011
"IP API",
1112
"infoDB"
1213
],
13-
"license": "BSD-2-Clause",
1414
"require": {
1515
"php": "^8.0",
1616
"illuminate/cache": "^8.0 || ^9.0 || ^10.0",
1717
"illuminate/console": "^8.0 || ^9.0 || ^10.0",
1818
"illuminate/support": "^8.0 || ^9.0 || ^10.0"
1919
},
20-
"suggest": {
21-
"geoip2/geoip2": "Required to use the MaxMind database or web service with GeoIP (~2.1).",
22-
"monolog/monolog": "Allows for storing location not found errors to the log"
23-
},
2420
"require-dev": {
25-
"phpunit/phpunit": "^9.5",
26-
"mockery/mockery": "^1.4",
2721
"geoip2/geoip2": "~2.1",
28-
"vlucas/phpdotenv": "^5.0",
22+
"mockery/mockery": "^1.4",
2923
"phpstan/phpstan": "^1.2",
24+
"phpunit/phpunit": "^9.5",
3025
"squizlabs/php_codesniffer": "^3.6",
31-
"vimeo/psalm": "^5.7"
26+
"vimeo/psalm": "^5.7",
27+
"vlucas/phpdotenv": "^5.0"
28+
},
29+
"suggest": {
30+
"geoip2/geoip2": "Required to use the MaxMind database or web service with GeoIP (~2.1).",
31+
"monolog/monolog": "Allows for storing location not found errors to the log"
3232
},
3333
"autoload": {
34-
"files": [
35-
"src/helpers.php"
36-
],
3734
"psr-4": {
3835
"InteractionDesignFoundation\\GeoIP\\": "src/"
39-
}
36+
},
37+
"files": [
38+
"src/helpers.php"
39+
]
4040
},
4141
"autoload-dev": {
42-
"files": [
43-
"tests/TestFunctions.php"
44-
],
4542
"psr-4": {
4643
"InteractionDesignFoundation\\GeoIP\\Tests\\": "tests/"
47-
}
48-
},
49-
"scripts": {
50-
"test": "vendor/bin/phpunit",
51-
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml src",
52-
"phpstan": "vendor/bin/phpstan --level=0 --no-progress analyse --configuration phpstan.neon --memory-limit 2G"
44+
},
45+
"files": [
46+
"tests/TestFunctions.php"
47+
]
5348
},
5449
"extra": {
5550
"laravel": {
56-
"providers": [
57-
"InteractionDesignFoundation\\GeoIP\\GeoIPServiceProvider"
58-
],
5951
"aliases": {
6052
"GeoIP": "InteractionDesignFoundation\\GeoIP\\Facades\\GeoIP"
61-
}
53+
},
54+
"providers": [
55+
"InteractionDesignFoundation\\GeoIP\\GeoIPServiceProvider"
56+
]
6257
}
58+
},
59+
"scripts": {
60+
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml src",
61+
"phpstan": "vendor/bin/phpstan --level=0 --no-progress analyse --configuration phpstan.neon --memory-limit 2G",
62+
"test": "vendor/bin/phpunit"
6363
}
6464
}

0 commit comments

Comments
 (0)