Skip to content

Commit a23567f

Browse files
authored
Merge pull request #50 from laravel-shift/l12-compatibility
Laravel 12.x Compatibility
2 parents dc20aab + 1df3d07 commit a23567f

File tree

4 files changed

+20
-15
lines changed

4 files changed

+20
-15
lines changed

Diff for: .github/workflows/run-tests.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [ubuntu-latest, windows-latest]
19-
php: [8.4, 8.3, 8.2]
20-
laravel: ['11.*', '10.*']
19+
php: [8.2, 8.3, 8.4]
20+
laravel: ['10.*', '11.*', '12.*']
2121
dependency-version: [prefer-stable]
2222
include:
23-
- laravel: 11.*
24-
testbench: 9.*
2523
- laravel: 10.*
2624
testbench: 8.*
25+
- laravel: 11.*
26+
testbench: 9.*
27+
- laravel: 12.*
28+
testbench: 10.*
2729

2830
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
2931

@@ -45,7 +47,7 @@ jobs:
4547
4648
- name: Install dependencies
4749
run: |
48-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
50+
composer require "illuminate/contracts:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
4951
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
5052
5153
- name: Execute tests

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to `laravel-route-statistics` will be documented in this fil
44

55
## Changes
66

7+
### 4.1.0 - 2025-02-17
8+
9+
- Add Laravel 12 support
10+
711
### 4.0.0 - 2024-12-04
812

913
- Add PHP 8.4 compatibility

Diff for: README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99

1010
Log Laravel requests and responses for statistical purposes and optionally aggregate by hours/days/months for minimal db requirements.
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.* | 11.* | 8.1.* \| 8.2.* \| 8.3.* |
17-
| 4.* | 11.* | 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.* | 11.* | 8.1.* \| 8.2.* \| 8.3.* |
17+
| 4.* | 11.* \| 12.* | 8.2.* \| 8.3.* \| 8.4.* |
1818

1919
## Description
2020

Diff for: composer.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,12 @@
2323
"require": {
2424
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
2525
"bilfeldt/laravel-request-logger": "^3.0",
26-
"illuminate/contracts": "^11.0 || ^10.0",
27-
"laravel/framework": "^11.0 || ^10.0"
26+
"illuminate/contracts": "^10.0 || ^11.0 || ^12.0"
2827
},
2928
"require-dev": {
3029
"nunomaduro/collision": "^7.2 || ^8.0",
31-
"orchestra/testbench": "^8.0 || ^9.0",
32-
"phpunit/phpunit": "^10.0"
30+
"orchestra/testbench": "^8.0 || ^9.0 || ^10.0",
31+
"phpunit/phpunit": "^10.0 || ^11.5.3"
3332
},
3433
"autoload": {
3534
"psr-4": {

0 commit comments

Comments
 (0)