Skip to content

Add Laravel 13 support - #1

Merged
jeffreyvr merged 2 commits into
mainfrom
laravel-13-support
Jul 30, 2026
Merged

Add Laravel 13 support#1
jeffreyvr merged 2 commits into
mainfrom
laravel-13-support

Conversation

@jeffreyvr

@jeffreyvr jeffreyvr commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Adds Laravel 13 to the supported range for datalumo/laravel.

jeffreyvr and others added 2 commits July 30, 2026 12:05
Widen the illuminate/* constraints to ^13.0, along with testbench ^11.0
and Pest 4 (pest-plugin-laravel ^4.1 is the first release that allows
Laravel 13).

Laravel 13 throws when a model is instantiated while it is booting, and
Model::observe() does that internally, so registering the observer from
bootSearchable() broke every searchable model. Defer it through the new
whenBooted() hook when it exists, keeping the direct call on 11 and 12.

Verified against Laravel 13.23/testbench 11, 12.64, and 11 with Pest 3.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@jeffreyvr
jeffreyvr merged commit 39f513b into main Jul 30, 2026
8 checks passed
@jeffreyvr
jeffreyvr deleted the laravel-13-support branch July 30, 2026 04: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.

1 participant