Skip to content

Add Laravel 13 support to illuminate dependency constraints#6

Open
gdconnect wants to merge 1 commit into
Blaspsoft:mainfrom
gdconnect:add-laravel-13-support
Open

Add Laravel 13 support to illuminate dependency constraints#6
gdconnect wants to merge 1 commit into
Blaspsoft:mainfrom
gdconnect:add-laravel-13-support

Conversation

@gdconnect
Copy link
Copy Markdown

@gdconnect gdconnect commented May 11, 2026

Summary

Widens illuminate/support and illuminate/contracts constraints from ^11.0|^12.0 to ^11.0|^12.0|^13.0 so the package installs cleanly into Laravel 13 projects.

What changes

-        "illuminate/support": "^11.0|^12.0",
-        "illuminate/contracts": "^11.0|^12.0"
+        "illuminate/support": "^11.0|^12.0|^13.0",
+        "illuminate/contracts": "^11.0|^12.0|^13.0"

No source changes — the package uses only the public surface of Illuminate\Support\ServiceProvider, Illuminate\Contracts\Foundation\Application, and Illuminate\Support\Facades\Facade. None of these broke between Laravel 11 → 12 → 13.

Why

Installing blaspsoft/forerunner ^0.2.1 into a Laravel 13 project currently fails resolution:

blaspsoft/forerunner v0.2.1 requires illuminate/contracts ^11.0|^12.0
Only one of these can be installed: laravel/framework[v13.0.0 ...],
illuminate/contracts[v11.0.0 ... v12.x]. laravel/framework replaces
illuminate/contracts and thus cannot coexist with it.

Test plan

  • composer validate --strict exits 0
  • Verified install into a Laravel 13.8.0 project alongside filament/filament v5.6.2, livewire/livewire v4.3.0, pestphp/pest v4.7.0
  • php artisan about boots without fatals
  • ForerunnerServiceProvider auto-discovery works (Schema facade registered)
  • Maintainer: run existing test suite against L13 in CI (please add ^13.0 to your test matrix if not present)

Summary by CodeRabbit

  • Chores
    • Extended Laravel support library and contracts dependencies to accommodate version 13.0 alongside existing version 11.0 and 12.0 compatibility.

Review Change Stack

Widens `illuminate/support` and `illuminate/contracts` constraints to
include `^13.0` alongside the existing `^11.0|^12.0` ranges. No source
code changes are required: the package uses only the public surface of
`Illuminate\\Support\\ServiceProvider`, `Illuminate\\Contracts\\Foundation\\Application`,
and `Illuminate\\Support\\Facades\\Facade`, none of which broke between
Laravel 11 → 12 → 13. Tested by installing this branch into a Laravel
13.8.0 project (with filament/filament v5.6.2, livewire/livewire v4.3.0,
pestphp/pest v4.7.0) and verifying:

  - composer validate --strict exits 0
  - composer update --with-dependencies resolves cleanly
  - php artisan about boots without fatals on Laravel 13.8.0
  - ForerunnerServiceProvider auto-discovery works (Schema facade registered)

Without this widening, installing forerunner v0.2.1 into a Laravel 13
project fails with:

  blaspsoft/forerunner v0.2.1 requires illuminate/contracts ^11.0|^12.0
  Only one of these can be installed: laravel/framework[v13.0.0 ...],
  illuminate/contracts[v11.0.0 ... v12.x]. laravel/framework replaces
  illuminate/contracts and thus cannot coexist with it.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 11, 2026

📝 Walkthrough

Walkthrough

The PR updates two Laravel framework dependency constraints in composer.json to support Laravel 13.0. The version ranges for illuminate/support and illuminate/contracts are expanded from ^11.0|^12.0 to ^11.0|^12.0|^13.0.

Changes

Dependency Version Expansion

Layer / File(s) Summary
Version Constraint Update
composer.json
illuminate/support and illuminate/contracts now allow ^13.0 in addition to existing ^11.0|^12.0 version ranges.

🎯 1 (Trivial) | ⏱️ ~2 minutes

A rabbit hops through the versions bright,
From eleven, through twelve, to thirteen's light,
Dependencies aligned, all set to grow,
Laravel's future ready, off we go! 🐰✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating Composer dependency constraints to add Laravel 13 support to illuminate/support and illuminate/contracts packages.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
composer.json (1)

17-23: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Add orchestra/testbench ^11.0 to support Laravel 13 CI testing.

The current constraint ^9.0|^10.0 covers Laravel 11 and 12 only. To validate the Laravel 13 support claim in CI, include testbench v11.0.0+, which requires Laravel 13:

Required update
-        "orchestra/testbench": "^9.0|^10.0"
+        "orchestra/testbench": "^9.0|^10.0|^11.0"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@composer.json` around lines 17 - 23, Update the composer dev dependency
constraint for orchestra/testbench in require-dev so CI can test Laravel 13;
replace the current constraint "orchestra/testbench": "^9.0|^10.0" with a range
that includes v11 (for example "^9.0|^10.0|^11.0" or "^9.0|^10.0|^11.0|^12.0" as
appropriate) in composer.json to allow installing testbench v11.x for Laravel 13
testing.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@composer.json`:
- Around line 17-23: Update the composer dev dependency constraint for
orchestra/testbench in require-dev so CI can test Laravel 13; replace the
current constraint "orchestra/testbench": "^9.0|^10.0" with a range that
includes v11 (for example "^9.0|^10.0|^11.0" or "^9.0|^10.0|^11.0|^12.0" as
appropriate) in composer.json to allow installing testbench v11.x for Laravel 13
testing.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 135f4502-022d-4aea-ae0a-25859690cdb2

📥 Commits

Reviewing files that changed from the base of the PR and between 4f4eaf3 and 8b0568b.

📒 Files selected for processing (1)
  • composer.json

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