Skip to content

Add Laravel 13 support#1

Merged
bradenkeith merged 1 commit intomainfrom
support/laravel-13
Mar 21, 2026
Merged

Add Laravel 13 support#1
bradenkeith merged 1 commit intomainfrom
support/laravel-13

Conversation

@bradenkeith
Copy link
Copy Markdown
Member

Summary

  • Widen illuminate/contracts, illuminate/database, and illuminate/support constraints from ^12.0 to ^12.0|^13.0
  • Widen orchestra/testbench dev dependency from ^10.0 to ^10.0|^11.0

Test plan

  • Verify existing tests pass against Laravel 12
  • Verify package installs cleanly in a Laravel 13 project

🤖 Generated with Claude Code

Widen illuminate/* constraints to accept ^13.0.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@greptile-apps
Copy link
Copy Markdown

greptile-apps bot commented Mar 21, 2026

Greptile Summary

This PR adds Laravel 13 compatibility to the romegasoftware/availability package by widening the version constraints on illuminate/contracts, illuminate/database, and illuminate/support from ^12.0 to ^12.0|^13.0, and expanding the orchestra/testbench dev dependency from ^10.0 to ^10.0|^11.0 (testbench 11.x is the correct companion for Laravel 13).

  • All three Illuminate component constraints are widened consistently
  • The orchestra/testbench ^11.0 mapping to Laravel 13 is correct
  • The existing PHP ^8.4 constraint is compatible with Laravel 13's minimum requirements
  • No CI workflow exists in the repo, so no pipeline matrix needs updating
  • The README.md does not advertise a specific supported Laravel version range, so no documentation update is needed

Confidence Score: 5/5

  • This PR is safe to merge — it is a minimal, correct dependency widening with no logic changes.
  • The change is a single-file, purely additive version constraint update. All mappings (illuminate/* ^13.0, testbench ^11.0) are accurate for Laravel 13. No code logic was touched, no breaking changes were introduced, and backward compatibility with Laravel 12 is preserved.
  • No files require special attention.

Important Files Changed

Filename Overview
composer.json Widens illuminate/* constraints to ^12.0

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    L12["Laravel 12"]
    L13["Laravel 13"]

    IC12["illuminate/contracts ^12.0"]
    IC13["illuminate/contracts ^13.0"]
    ID12["illuminate/database ^12.0"]
    ID13["illuminate/database ^13.0"]
    IS12["illuminate/support ^12.0"]
    IS13["illuminate/support ^13.0"]

    TB10["orchestra/testbench ^10.0"]
    TB11["orchestra/testbench ^11.0"]

    L12 --> IC12
    L12 --> ID12
    L12 --> IS12
    L12 --> TB10

    L13 --> IC13
    L13 --> ID13
    L13 --> IS13
    L13 --> TB11

    IC12 & IC13 --> PKG["romegasoftware/availability"]
    ID12 & ID13 --> PKG
    IS12 & IS13 --> PKG
    TB10 & TB11 --> PKG
Loading

Last reviewed commit: "Add Laravel 13 suppo..."

@bradenkeith bradenkeith merged commit 76679f5 into main Mar 21, 2026
1 check passed
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.

1 participant