Skip to content

Commit f657820

Browse files
authored
Laravel 11 & 12 compatibility (#12)
Added support for Laravel version 11 & 12
1 parent 72e2d5f commit f657820

File tree

3 files changed

+22
-9
lines changed

3 files changed

+22
-9
lines changed

.github/workflows/run-tests.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,27 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: [ ubuntu-latest, windows-latest ]
12-
php: [ 8.2, 8.1 ]
13-
laravel: [ 10.*, 9.*, 8.* ]
12+
php: [ 8.3, 8.2, 8.1 ]
13+
laravel: [ 12.*, 11.*, 10.*, 9.*, 8.* ]
1414
stability: [ prefer-stable ]
1515
include:
16+
- laravel: 12.*
17+
testbench: 10.*
18+
- laravel: 11.*
19+
testbench: 9.*
1620
- laravel: 10.*
1721
testbench: 8.*
1822
- laravel: 9.*
1923
testbench: 7.*
2024
- laravel: 8.*
2125
testbench: 6.*
26+
exclude:
27+
- laravel: 12.*
28+
php: 8.2
29+
- laravel: 12.*
30+
php: 8.1
31+
- laravel: 11.*
32+
php: 8.1
2233

2334
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2435

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,8 @@ Please review [our security policy](../../security/policy) on how to report secu
326326

327327
## Credits
328328

329-
- [Martin](https://github.com/io238)
329+
- [io238](https://github.com/io238)
330+
- [azakhozhiy](https://github.com/azakhozhiy)
330331
- https://restcountries.com
331332
- https://github.com/umpirsky/country-list
332333
- https://github.com/umpirsky/language-list

composer.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "io238/laravel-iso-countries",
3+
"version": "1.3.0",
34
"description": "Ready-to-use Laravel models and relations for country (ISO 3166), language (ISO 639-1), and currency (ISO 4217) information with multi-language support.",
45
"keywords": [
56
"laravel",
@@ -30,9 +31,9 @@
3031
],
3132
"require": {
3233
"php": "^8.1",
33-
"illuminate/contracts": "^7.0|^8.40|^9.0|^10.0",
34-
"illuminate/database": "^7.0|^8.40|^9.0|^10.0",
35-
"illuminate/support": "^7.0|^8.40|^9.0|^10.0",
34+
"illuminate/contracts": "^7.0|^8.40|^9.0|^10.0|^11.0|^12.0",
35+
"illuminate/database": "^7.0|^8.40|^9.0|^10.0|^11.0|^12.0",
36+
"illuminate/support": "^7.0|^8.40|^9.0|^10.0|^11.0|^12.0",
3637
"spatie/laravel-translatable": "^4.6|^5.0|^6.0",
3738
"slowprog/composer-copy-file": "^0.3",
3839
"components/flag-icon-css": "^3.5.0",
@@ -41,8 +42,8 @@
4142
"umpirsky/currency-list": "^v1.1.1"
4243
},
4344
"require-dev": {
44-
"orchestra/testbench": "^5.0|^6.0|^7.0",
45-
"pestphp/pest": "^1.21"
45+
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0|^9.0|^10.0",
46+
"pestphp/pest": "^1.0|^2.0|^3.0"
4647
},
4748
"autoload": {
4849
"psr-4": {
@@ -82,6 +83,6 @@
8283
"./vendor/umpirsky/currency-list/data/#\\.php$": "data/translations/currencies/"
8384
}
8485
},
85-
"minimum-stability": "dev",
86+
"minimum-stability": "stable",
8687
"prefer-stable": true
8788
}

0 commit comments

Comments
 (0)