|
1 | 1 | {
|
2 | 2 | "name": "interaction-design-foundation/laravel-geoip",
|
3 | 3 | "description": "Support for multiple GeoIP services.",
|
| 4 | + "license": "BSD-2-Clause", |
4 | 5 | "keywords": [
|
5 | 6 | "laravel",
|
6 | 7 | "geoip",
|
|
10 | 11 | "IP API",
|
11 | 12 | "infoDB"
|
12 | 13 | ],
|
13 |
| - "license": "BSD-2-Clause", |
14 | 14 | "require": {
|
15 | 15 | "php": "^8.0",
|
16 | 16 | "illuminate/cache": "^8.0 || ^9.0 || ^10.0",
|
17 | 17 | "illuminate/console": "^8.0 || ^9.0 || ^10.0",
|
18 | 18 | "illuminate/support": "^8.0 || ^9.0 || ^10.0"
|
19 | 19 | },
|
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 |
| - }, |
24 | 20 | "require-dev": {
|
25 |
| - "phpunit/phpunit": "^9.5", |
26 |
| - "mockery/mockery": "^1.4", |
27 | 21 | "geoip2/geoip2": "~2.1",
|
28 |
| - "vlucas/phpdotenv": "^5.0", |
| 22 | + "mockery/mockery": "^1.4", |
29 | 23 | "phpstan/phpstan": "^1.2",
|
| 24 | + "phpunit/phpunit": "^9.5", |
30 | 25 | "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" |
32 | 32 | },
|
33 | 33 | "autoload": {
|
34 |
| - "files": [ |
35 |
| - "src/helpers.php" |
36 |
| - ], |
37 | 34 | "psr-4": {
|
38 | 35 | "InteractionDesignFoundation\\GeoIP\\": "src/"
|
39 |
| - } |
| 36 | + }, |
| 37 | + "files": [ |
| 38 | + "src/helpers.php" |
| 39 | + ] |
40 | 40 | },
|
41 | 41 | "autoload-dev": {
|
42 |
| - "files": [ |
43 |
| - "tests/TestFunctions.php" |
44 |
| - ], |
45 | 42 | "psr-4": {
|
46 | 43 | "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 | + ] |
53 | 48 | },
|
54 | 49 | "extra": {
|
55 | 50 | "laravel": {
|
56 |
| - "providers": [ |
57 |
| - "InteractionDesignFoundation\\GeoIP\\GeoIPServiceProvider" |
58 |
| - ], |
59 | 51 | "aliases": {
|
60 | 52 | "GeoIP": "InteractionDesignFoundation\\GeoIP\\Facades\\GeoIP"
|
61 |
| - } |
| 53 | + }, |
| 54 | + "providers": [ |
| 55 | + "InteractionDesignFoundation\\GeoIP\\GeoIPServiceProvider" |
| 56 | + ] |
62 | 57 | }
|
| 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" |
63 | 63 | }
|
64 | 64 | }
|
0 commit comments