Skip to content

Commit 01a0b4b

Browse files
aarondfrancisclaude
andcommitted
Drop Laravel 8 and 9 support
- Update composer.json to require Laravel 10+ - Remove Guzzle 6.x support (Laravel 10+ requires Guzzle 7) - Update CI matrix to only test Laravel 10, 11, 12 - Update documentation to reflect supported versions This resolves CI failures caused by Composer blocking Laravel 8/9 due to security advisories. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8910434 commit 01a0b4b

File tree

4 files changed

+13
-48
lines changed

4 files changed

+13
-48
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -18,59 +18,25 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
php: ['8.1', '8.2', '8.3']
21-
laravel: ['8.*', '9.*', '10.*', '11.*', '12.*']
22-
guzzle: ['6.*', '7.*']
21+
laravel: ['10.*', '11.*', '12.*']
2322
dependency-version: [prefer-lowest, prefer-stable]
2423
include:
25-
- laravel: 8.*
26-
testbench: 6.*
27-
- laravel: 9.*
28-
testbench: 7.*
2924
- laravel: 10.*
3025
testbench: 8.*
3126
- laravel: 11.*
3227
testbench: 9.*
3328
- laravel: 12.*
3429
testbench: 10.*
3530
exclude:
36-
# Laravel 8 exclusions
37-
- laravel: 8.*
38-
php: 8.1
39-
dependency-version: prefer-lowest
40-
- laravel: 8.*
41-
php: 8.2
42-
dependency-version: prefer-lowest
43-
- laravel: 8.*
44-
php: 8.3
45-
dependency-version: prefer-lowest
46-
47-
# Laravel 9 exclusions
48-
- laravel: 9.*
49-
php: 8.2
50-
dependency-version: prefer-lowest
51-
- laravel: 9.*
52-
php: 8.3
53-
dependency-version: prefer-lowest
54-
55-
# Laravel 11 exclusions
31+
# Laravel 11 requires PHP 8.2+
5632
- laravel: 11.*
5733
php: 8.1
5834

59-
# Laravel 12 exclusions
35+
# Laravel 12 requires PHP 8.2+
6036
- laravel: 12.*
6137
php: 8.1
6238

63-
# Guzzle exclusions
64-
- laravel: 9.*
65-
guzzle: 6.*
66-
- laravel: 10.*
67-
guzzle: 6.*
68-
- laravel: 11.*
69-
guzzle: 6.*
70-
- laravel: 12.*
71-
guzzle: 6.*
72-
73-
name: P${{ matrix.php }} / L${{ matrix.laravel }} / G${{ matrix.guzzle }} / ${{ matrix.dependency-version }}
39+
name: P${{ matrix.php }} / L${{ matrix.laravel }} / ${{ matrix.dependency-version }}
7440

7541
steps:
7642
- name: Checkout code
@@ -91,8 +57,7 @@ jobs:
9157

9258
- name: Install dependencies
9359
run: |
94-
composer self-update ${{ matrix.composer-version }}
95-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "guzzlehttp/guzzle:${{ matrix.guzzle }}" --no-interaction --no-update --dev
60+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update --dev
9661
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
9762
9863
- name: Execute tests

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The package fires Laravel events you can hook into:
8585

8686
## Things to Know
8787

88-
- This package supports Laravel 8 through 12 and PHP 8.1+
88+
- This package supports Laravel 10, 11, and 12 with PHP 8.1+
8989
- All source files use `declare(strict_types=1)`
9090
- The codebase uses constructor property promotion and typed properties throughout
9191
- Tests use Mockery for mocking AWS clients - check existing tests for patterns

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
],
1212
"require": {
1313
"php": "^8.1",
14-
"illuminate/filesystem": "^8|^9|^10|^11|^12.0",
15-
"illuminate/console": "^8|^9|^10|^11|^12.0",
16-
"illuminate/support": "^8|^9|^10|^11|^12.0",
14+
"illuminate/filesystem": "^10|^11|^12",
15+
"illuminate/console": "^10|^11|^12",
16+
"illuminate/support": "^10|^11|^12",
1717
"maennchen/zipstream-php": "^3.1",
18-
"guzzlehttp/guzzle": "^6.5.8|^7.2",
18+
"guzzlehttp/guzzle": "^7.2",
1919
"aws/aws-sdk-php": "^3.216.1"
2020
},
2121
"require-dev": {
22-
"orchestra/testbench": "^5|^6|^7|^8|^9|^10.0",
22+
"orchestra/testbench": "^8|^9|^10",
2323
"mockery/mockery": "^1.3.3",
24-
"phpunit/phpunit": ">=8.5.23|^9|^10"
24+
"phpunit/phpunit": "^9|^10|^11"
2525
},
2626
"autoload": {
2727
"psr-4": {

docs/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Sidecar packages, deploys, and executes AWS Lambda functions from your Laravel application. {.text-xl .font-bold}
55

6-
It works with _any_ Laravel 8, 9, 10, 11, or 12 application, hosted _anywhere_, including your local machine. {.font-bold}
6+
It works with _any_ Laravel 10, 11, or 12 application, hosted _anywhere_, including your local machine. {.font-bold}
77

88
You can write functions in any of the following runtimes and execute them straight from PHP:
99

0 commit comments

Comments
 (0)