feat: add Laravel 13 support#8
Open
yannelli wants to merge 1 commit into
Open
Conversation
Widen illuminate/* constraints to ^12.0|^13.0 and orchestra/testbench to ^10.0|^11.0 so the package installs on both Laravel 12 and 13. Expand the CI matrix to exercise tests against both major versions on PHP 8.4. No source changes are required — the package only touches stable Illuminate APIs. https://claude.ai/code/session_01KteR8fnq7XhB8uW2P1R4yz
There was a problem hiding this comment.
Pull request overview
This PR updates package metadata and CI configuration to allow installing and testing this package on both Laravel 12 and Laravel 13.
Changes:
- Widen
illuminate/*Composer constraints to allow^12.0|^13.0, andorchestra/testbenchto^10.0|^11.0. - Expand the GitHub Actions test matrix to target both Laravel 12.* and 13.*.
- Add an
Unreleasedchangelog entry documenting Laravel 13 support.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| composer.json | Broadens Illuminate + Testbench version constraints to include Laravel 13-compatible versions. |
| CHANGELOG.md | Documents upcoming Laravel 13 support under an Unreleased section. |
| .github/workflows/run-tests.yml | Extends CI matrix to run tests against both Laravel 12 and 13. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
23
to
+31
| os: [ubuntu-latest] | ||
| php: [8.4] | ||
| laravel: [12.*] | ||
| laravel: [12.*, 13.*] | ||
| stability: [prefer-stable] | ||
| include: | ||
| - laravel: 12.* | ||
| testbench: 10.* | ||
| - laravel: 13.* | ||
| testbench: 11.* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
illuminate/*constraints from^12.0to^12.0|^13.0andorchestra/testbenchfrom^10.0to^10.0|^11.0, so the package installs on both Laravel 12 and Laravel 13. Laravel 12 support is preserved..github/workflows/run-tests.ymlto run the suite against bothlaravel: 12.*(testbench10.*) andlaravel: 13.*(testbench11.*) on PHP 8.4.Unreleasedentry toCHANGELOG.md.No source changes were required — the package only depends on stable Illuminate APIs (
Support\Collection,Support\Carbon,Pipeline\Pipeline,Bus\Queueable,Queue\{InteractsWithQueue, SerializesModels},Foundation\{Bus, Events}\Dispatchable,Contracts\{Container\Container, Queue\ShouldQueue}, facades), and there are no Laravel-version sniffs or deprecated calls insrc/.Test plan
P8.4 - L12.* - prefer-stable - ubuntu-latestpasses.P8.4 - L13.* - prefer-stable - ubuntu-latestpasses (new job).composer require "laravel/framework:13.*" "orchestra/testbench:11.*"resolves cleanly with noilluminate/*orspatie/laravel-package-toolsconflicts.vendor/bin/testbench package:discover --ansidiscoversYannelli\Attempt\AttemptServiceProvideron Laravel 13.https://claude.ai/code/session_01KteR8fnq7XhB8uW2P1R4yz
Generated by Claude Code