Skip to content

feat: add Laravel 13 support#8

Open
yannelli wants to merge 1 commit into
mainfrom
claude/add-laravel-13-support-cLM6q
Open

feat: add Laravel 13 support#8
yannelli wants to merge 1 commit into
mainfrom
claude/add-laravel-13-support-cLM6q

Conversation

@yannelli
Copy link
Copy Markdown
Owner

Summary

  • Widen illuminate/* constraints from ^12.0 to ^12.0|^13.0 and orchestra/testbench from ^10.0 to ^10.0|^11.0, so the package installs on both Laravel 12 and Laravel 13. Laravel 12 support is preserved.
  • Expand the CI matrix in .github/workflows/run-tests.yml to run the suite against both laravel: 12.* (testbench 10.*) and laravel: 13.* (testbench 11.*) on PHP 8.4.
  • Add an Unreleased entry to CHANGELOG.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 in src/.

Test plan

  • CI: P8.4 - L12.* - prefer-stable - ubuntu-latest passes.
  • CI: P8.4 - L13.* - prefer-stable - ubuntu-latest passes (new job).
  • composer require "laravel/framework:13.*" "orchestra/testbench:11.*" resolves cleanly with no illuminate/* or spatie/laravel-package-tools conflicts.
  • vendor/bin/testbench package:discover --ansi discovers Yannelli\Attempt\AttemptServiceProvider on Laravel 13.

https://claude.ai/code/session_01KteR8fnq7XhB8uW2P1R4yz


Generated by Claude Code

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
Copilot AI review requested due to automatic review settings May 10, 2026 01:59
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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, and orchestra/testbench to ^10.0|^11.0.
  • Expand the GitHub Actions test matrix to target both Laravel 12.* and 13.*.
  • Add an Unreleased changelog 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.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants