Skip to content

Commit 47fc51c

Browse files
evan-burrelltimacdonald
authored andcommittedFeb 10, 2025
Support PHP 8.4
1 parent d614432 commit 47fc51c

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed
 

‎.github/workflows/main.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
name: "PHP: ${{ matrix.php }}; Laravel: ${{ matrix.laravel }}; Prefer: ${{ matrix.prefer }}"
7070
strategy:
7171
matrix:
72-
php: ['8.1', '8.2', '8.3']
72+
php: ['8.1', '8.2', '8.3', '8.4']
7373
laravel: [^9.0, ^10.0, ^11.0]
7474
prefer: [prefer-lowest, prefer-stable]
7575
include:
@@ -127,6 +127,10 @@ jobs:
127127
if: ${{ matrix.php == 8.3 && matrix.prefer == 'prefer-lowest' }}
128128
run: composer require --no-update nesbot/carbon:"^2.62.1"
129129

130+
- name: Support prefer-lowest in PHP 8.4
131+
if: ${{ matrix.php == 8.4 && matrix.prefer == 'prefer-lowest' }}
132+
run: composer require --no-update nesbot/carbon:"^2.62.1"
133+
130134
- name: Install dependencies
131135
run: composer update --${{ matrix.prefer }}
132136

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ A lightweight API resource for Laravel that helps you adhere to the `JSON:API` s
2626

2727
## Version support
2828

29-
- **PHP**: `8.1`, `8.2`, `8.3`
29+
- **PHP**: `8.1`, `8.2`, `8.3`, `8.4`
3030
- **Laravel**: `9.0`, `10.0`, `11.0`
3131

3232
## Installation

‎composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
],
1919
"require": {
20-
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
20+
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
2121
"illuminate/collections": "^9.0 || ^10.0 || ^11.0",
2222
"illuminate/database": "^9.0 || ^10.0 || ^11.0",
2323
"illuminate/http": "^9.0 || ^10.0 || ^11.0",

0 commit comments

Comments
 (0)
Please sign in to comment.