Skip to content

Commit 4e174d1

Browse files
authored
Merge pull request #40 from laravel-shift/l12-compatibility
Laravel 12.x Compatibility
2 parents 1da567d + e074ecc commit 4e174d1

File tree

4 files changed

+19
-11
lines changed

4 files changed

+19
-11
lines changed

.github/workflows/run-tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,21 @@ jobs:
1717
matrix:
1818
os: [ubuntu-latest, windows-latest]
1919
php: [8.3, 8.2, 8.1]
20-
laravel: ['10.*', '11.*']
20+
laravel: ['10.*', '11.*', '12.*']
2121
dependency-version: [prefer-stable]
2222
include:
2323
- laravel: 10.*
2424
testbench: 8.*
2525
- laravel: 11.*
2626
testbench: 9.*
27+
- laravel: 12.*
28+
testbench: 10.*
2729
exclude:
30+
- laravel: 10.*
31+
php: 8.1
2832
- laravel: 11.*
2933
php: 8.1
30-
- laravel: 10.*
34+
- laravel: 12.*
3135
php: 8.1
3236

3337
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
@@ -50,7 +54,7 @@ jobs:
5054
5155
- name: Install dependencies
5256
run: |
53-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
57+
composer require "illuminate/contracts:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
5458
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
5559
5660
- name: Execute tests

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ No breaking changes. The only changes are to the development dependencies used f
1717

1818
## Changes
1919

20+
### 3.6.0 - 2025-02-17
21+
22+
- Add Laravel 12 support
23+
2024
### 3.5.0 - 2025-02-11
2125

2226
- Move registration of event listeners to the main service provider and remove the dedicated EventServiceProvider.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99

1010
Zero configuration logging of Requests and Responses to database or custom drivers in Laravel applications - no more issues debugging customer support requests.
1111

12-
| Version | Laravel | PHP |
13-
|---------|-------------|----------------------------------|
14-
| 1.* | 8.* \| 9.* | 7.4.* \| 8.0.* \| 8.1.* |
15-
| 2.* | 10.* | 8.1.* \| 8.2.* |
16-
| 3.* | 10.* | 8.1.* \| 8.2.* \| 8.3.* \| 8.4.* |
12+
| Version | Laravel | PHP |
13+
|---------|----------------------|----------------------------------|
14+
| 1.* | 8.* \| 9.* | 7.4.* \| 8.0.* \| 8.1.* |
15+
| 2.* | 10.* | 8.1.* \| 8.2.* |
16+
| 3.* | 10.* \| 11.* \| 12.* | 8.1.* \| 8.2.* \| 8.3.* \| 8.4.* |
1717

1818
## Installation
1919

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
],
2222
"require": {
2323
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
24-
"illuminate/contracts": "^10.0 || ^11.0",
24+
"illuminate/contracts": "^10.0 || ^11.0 || ^12.0",
2525
"ext-json": "*",
2626
"bilfeldt/laravel-correlation-id": "^1.0"
2727
},
2828
"require-dev": {
2929
"nunomaduro/collision": "^7.2 || ^8.0",
30-
"orchestra/testbench": "^8.0 || ^9.0",
31-
"phpunit/phpunit": "^10.0",
30+
"orchestra/testbench": "^8.0 || ^9.0 || ^10.0",
31+
"phpunit/phpunit": "^10.0 || ^11.5.3",
3232
"spatie/laravel-ray": "^1.32"
3333
},
3434
"autoload": {

0 commit comments

Comments
 (0)