Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c1abb88

Browse files
Support Laravel 12
(cherry picked from commit 4a3e441)
1 parent ab653de commit c1abb88

File tree

6 files changed

+213
-95
lines changed

6 files changed

+213
-95
lines changed

‎composer.json‎

Lines changed: 68 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,72 @@
11
{
2-
"name": "interaction-design-foundation/laravel-geoip",
3-
"description": "Support for multiple Geographical Location services.",
4-
"license": "BSD-2-Clause",
5-
"keywords": [
6-
"laravel",
7-
"geoip",
8-
"geographical",
9-
"location",
10-
"geolocation",
11-
"IP API",
12-
"infoDB"
13-
],
14-
"require": {
15-
"php": "^8.1",
16-
"illuminate/cache": "^10.0 || ^11.0",
17-
"illuminate/console": "^10.0 || ^11.0",
18-
"illuminate/support": "^10.0 || ^11.0"
19-
},
20-
"require-dev": {
21-
"friendsofphp/php-cs-fixer": "^3.50",
22-
"geoip2/geoip2": "^3.0",
23-
"orchestra/testbench": "^8.8 || ^9.0",
24-
"phpstan/phpstan": "^2.1",
25-
"phpunit/phpunit": "^10.5 || ^11.0",
26-
"rector/rector": "^2.0",
27-
"squizlabs/php_codesniffer": "^3.9",
28-
"vimeo/psalm": "^5.25"
29-
},
30-
"suggest": {
31-
"geoip2/geoip2": "Required to use the MaxMind database or web service with GeoIP (~2.1).",
32-
"monolog/monolog": "Allows for storing location not found errors to the log"
33-
},
34-
"autoload": {
35-
"psr-4": {
36-
"InteractionDesignFoundation\\GeoIP\\": "src/"
2+
"name": "interaction-design-foundation/laravel-geoip",
3+
"description": "Support for multiple Geographical Location services.",
4+
"license": "BSD-2-Clause",
5+
"keywords": [
6+
"laravel",
7+
"geoip",
8+
"geographical",
9+
"location",
10+
"geolocation",
11+
"IP API",
12+
"infoDB"
13+
],
14+
"require": {
15+
"php": "^8.1",
16+
"ext-curl": "*",
17+
"illuminate/cache": "^10.0 || ^11.0 || ^12.0",
18+
"illuminate/console": "^10.0 || ^11.0 || ^12.0",
19+
"illuminate/support": "^10.0 || ^11.0 || ^12.0"
3720
},
38-
"files": [
39-
"src/helpers.php"
40-
]
41-
},
42-
"autoload-dev": {
43-
"psr-4": {
44-
"InteractionDesignFoundation\\GeoIP\\Tests\\": "tests/"
45-
}
46-
},
47-
"config": {
48-
"sort-packages": true
49-
},
50-
"extra": {
51-
"laravel": {
52-
"aliases": {
53-
"GeoIP": "InteractionDesignFoundation\\GeoIP\\Facades\\GeoIP"
54-
},
55-
"providers": [
56-
"InteractionDesignFoundation\\GeoIP\\GeoIPServiceProvider"
57-
]
21+
"require-dev": {
22+
"friendsofphp/php-cs-fixer": "^3.50",
23+
"geoip2/geoip2": "^3.0",
24+
"orchestra/testbench": "^8.8 || ^9.0 || ^10.0",
25+
"phpstan/phpstan": "^2.1",
26+
"phpunit/phpunit": "^11.0 || ^12.0",
27+
"rector/rector": "^2.0",
28+
"squizlabs/php_codesniffer": "^3.9",
29+
"vimeo/psalm": "^6.0"
30+
},
31+
"suggest": {
32+
"geoip2/geoip2": "Required to use the MaxMind database or web service with GeoIP (~2.1).",
33+
"monolog/monolog": "Allows for storing location not found errors to the log"
34+
},
35+
"autoload": {
36+
"psr-4": {
37+
"InteractionDesignFoundation\\GeoIP\\": "src/"
38+
},
39+
"files": [
40+
"src/helpers.php"
41+
]
42+
},
43+
"autoload-dev": {
44+
"psr-4": {
45+
"InteractionDesignFoundation\\GeoIP\\Tests\\": "tests/"
46+
}
47+
},
48+
"config": {
49+
"sort-packages": true
50+
},
51+
"extra": {
52+
"laravel": {
53+
"aliases": {
54+
"GeoIP": "InteractionDesignFoundation\\GeoIP\\Facades\\GeoIP"
55+
},
56+
"providers": [
57+
"InteractionDesignFoundation\\GeoIP\\GeoIPServiceProvider"
58+
]
59+
}
60+
},
61+
"scripts": {
62+
"cs": "@php-cs-fixer",
63+
"php-cs-fixer": "@php -d memory_limit=-1 vendor/bin/php-cs-fixer fix --no-interaction --ansi --verbose",
64+
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml src",
65+
"phpstan": "vendor/bin/phpstan --level=0 --no-progress analyse --configuration phpstan.neon --memory-limit 2G",
66+
"psalm": "vendor/bin/psalm",
67+
"rector": "vendor/bin/rector process --config rector.php ",
68+
"sa": "@psalm",
69+
"sa:bl": "@psalm --set-baseline=psalm-baseline.xml",
70+
"test": "vendor/bin/phpunit"
5871
}
59-
},
60-
"scripts": {
61-
"cs": "@php-cs-fixer",
62-
"php-cs-fixer": "@php -d memory_limit=-1 vendor/bin/php-cs-fixer fix --no-interaction --ansi --verbose",
63-
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml src",
64-
"phpstan": "vendor/bin/phpstan --level=0 --no-progress analyse --configuration phpstan.neon --memory-limit 2G",
65-
"psalm": "vendor/bin/psalm",
66-
"rector": "vendor/bin/rector process --config rector.php ",
67-
"sa": "@psalm",
68-
"sa:bl": "@psalm --set-baseline=psalm-baseline.xml",
69-
"test": "vendor/bin/phpunit"
70-
}
7172
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /