Skip to content

Commit c006c2a

Browse files
Added Laravel 12 + PHP 8.4
1 parent 131c1fe commit c006c2a

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

.github/workflows/tests.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
timeout-minutes: 10
99
strategy:
1010
matrix:
11-
php: ['8.0', '8.1', '8.2', '8.3']
12-
laravel: ['8.75', '8.83', '9.0', '9.52', '10.0', '10.48', '11.0']
11+
php: ['8.0', '8.1', '8.2', '8.3', '8.4']
12+
laravel: ['8.75', '8.83', '9.0', '9.52', '10.0', '10.48', '11.0', '11.44', '12.0']
1313
enum: ['2', '3', '4']
1414
exclude:
1515
- php: '8.0'
@@ -18,8 +18,16 @@ jobs:
1818
laravel: '10.48'
1919
- php: '8.0'
2020
laravel: '11.0'
21+
- php: '8.0'
22+
laravel: '11.44'
23+
- php: '8.0'
24+
laravel: '12.0'
2125
- php: '8.1'
2226
laravel: '11.0'
27+
- php: '8.1'
28+
laravel: '11.44'
29+
- php: '8.1'
30+
laravel: '12.0'
2331
name: PHP ${{ matrix.php }} Laravel ${{ matrix.laravel }} Enum ${{ matrix.enum }}
2432
steps:
2533
- name: Checkout

Changelog.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Changelog
22
### Konekt Enum Eloquent
33

4+
## Unreleased
5+
##### 2025-XX-YY
6+
7+
- Added Laravel 12 support
8+
- Added PHP 8.4 support
9+
410
## 1.9.3
511
##### 2024-01-08
612

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
This package provides support for auto casting [konekt enum](https://konekt.dev/enum) fields in [Eloquent models](https://laravel.com/docs/9.x/eloquent-mutators).
1111

12-
> Supported Konekt Enum versions are 2.x, 3.x and 4.x with Eloquent (Laravel) 8 - 11
12+
> Supported Konekt Enum versions are 2.x, 3.x and 4.x with Eloquent (Laravel) 8 - 12
1313
1414
[Changelog](Changelog.md)
1515

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
"require": {
2727
"php": "^8.0",
2828
"konekt/enum": "^2.0.2 || ^3.0 | ^4.0",
29-
"illuminate/database": "^8.75|9.*|10.*|11.*"
29+
"illuminate/database": "^8.75|9.*|10.*|11.*|12.*"
3030
},
3131
"require-dev": {
32-
"phpunit/phpunit": "9 - 10",
33-
"illuminate/events": "^8.75|9.*|10.*|11.*"
32+
"phpunit/phpunit": "9 - 11",
33+
"illuminate/events": "^8.75|9.*|10.*|11.*|12.*"
3434
},
3535
"autoload": {
3636
"psr-4": { "Konekt\\Enum\\Eloquent\\": "src/" }

0 commit comments

Comments
 (0)