Skip to content

Laravel 13.x Compatibility#216

Merged
CodeWithDennis merged 1 commit into
CodeWithDennis:3.xfrom
sudhansu08:l13-compatibility
Jun 18, 2026
Merged

Laravel 13.x Compatibility#216
CodeWithDennis merged 1 commit into
CodeWithDennis:3.xfrom
sudhansu08:l13-compatibility

Conversation

@sudhansu08

Copy link
Copy Markdown

Adds Laravel 13 support to the 3.x (Filament v3) line by widening the illuminate/contracts constraint, mirroring #202 which added Laravel 13 support to the 4.x branch.

Summary

  • illuminate/contracts: ^10.0|^11.0|^12.0^10.0|^11.0|^12.0|^13.0

No code changes are required — SelectTree uses only stable illuminate/support helpers (Arr, Collection) and Eloquent relation types (BelongsTo, BelongsToMany) for relationship traversal, none of which changed in Laravel 13. This matches the result of #202 on the 4.x line, which needed no source changes either.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@CodeWithDennis

Copy link
Copy Markdown
Owner

Can you let me know if you tested it properly?

@sudhansu08

Copy link
Copy Markdown
Author

Can you let me know if you tested it properly?

Hi @CodeWithDennis 👋 — yes, here's exactly what I did.

The change is constraint-only — it only widens illuminate/contracts to include ^13.0; no source files are touched. It mirrors #202 on the 4.x branch, which also needed no code changes. The 3.x SelectTree uses only stable Laravel APIs (Illuminate\Support\Arr/Collection and the BelongsTo/BelongsToMany relation types for tree traversal), none of which changed in Laravel 13.

Verified on a real Laravel 13 install:

Installed this branch with Laravel 13.16.1 + Filament v3.3.54 (+ Testbench 11 / Pest 4) — Composer resolves cleanly and package:discover boots the service provider.
The package's test suite (ExampleTest, ArchTest) passes on Laravel 13.
Added a quick functional check: SelectTree::make()->relationship(...)->searchable()->multiple()->withCount()->independent(false) instantiates, configures, and resolves its view correctly on L13.

@CodeWithDennis CodeWithDennis merged commit 74354ae into CodeWithDennis:3.x Jun 18, 2026
1 check passed
@sudhansu08 sudhansu08 deleted the l13-compatibility branch June 23, 2026 05:09
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.

2 participants