Skip to content

Improved Laravel 13 Support [Minimal PR] - #246

Open
austinderrick wants to merge 1 commit into
wintercms:wip/1.3from
austinderrick:wip/1.3-laravel-13-support
Open

austinderrick wants to merge 1 commit into
wintercms:wip/1.3from
austinderrick:wip/1.3-laravel-13-support

Conversation

@austinderrick

@austinderrick austinderrick commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Lets Storm install on Laravel 13 without dropping Laravel 12. This is the slimmed-down alternative to #228.

  • Widened laravel/framework, laravel/tinker and orchestra/testbench to accept the Laravel 13 versions. PHP stays at ^8.2, so the 8.2 CI job keeps testing Laravel 12 and 8.3+ tests 13.
  • ArraySource built its SQLite datasource in bootArraySource(), which does new static. Laravel 13 throws a LogicException if a model is created while it's still booting, so the datasource is now built the first time the connection is resolved. Boot still resets it, so clearBootedModels() behaves the same as before.
  • The MailFake::queue() baseline entry now matches the signature on both 12 and 13.
  • Added no-api to the arraysubset-asserts repo so CI on fork PRs can install without a token.

The full suite passes locally on Laravel 12.69 and 13.33.

IMPORTANT THINGS:

  1. MarkdownTest's simple_table case fails on any fresh install right now because of league/commonmark 2.10.2+, with or without this PR. This is resolved in Fix the simple_table Markdown test for league/commonmark 2.10.2 #247.
  2. This pairs with Support Laravel 13 winter#1487 on the Winter side.
  3. You'll want Support Laravel Debugbar 4 wn-debugbar-plugin#27 for people using debugbar. The current debugbar would throw errors with Laravel 13. (Note: this works with Laravel 12 & 13)

- Allow laravel/framework ^13, laravel/tinker ^3 and orchestra/testbench ^11 next to the Laravel 12
  versions.
- ArraySource: build the SQLite datasource on first use instead of in bootArraySource(). Laravel 13
  throws when a model is instantiated while it is booting. Boot still clears the connection, so
  clearBootedModels() rebuilds it.
- PHPStan baseline: match the MailFake::queue() signature on both 12 and 13.
- Clone the arraysubset-asserts VCS repo without the GitHub API, so fork PR CI can install.
@coderabbitai

coderabbitai Bot commented Sep 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 6c39f24f-8f19-42a2-8140-e101bb8f3f98

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@austinderrick austinderrick changed the title Improved Laravel 13 Support Improved Laravel 13 Support [Minimal PR] Sep 24, 2026
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