Laravel 13.x Compatibility#216
Conversation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
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. |
Adds Laravel 13 support to the
3.x(Filament v3) line by widening theilluminate/contractsconstraint, mirroring #202 which added Laravel 13 support to the4.xbranch.Summary
illuminate/contracts:^10.0|^11.0|^12.0→^10.0|^11.0|^12.0|^13.0No code changes are required —
SelectTreeuses only stableilluminate/supporthelpers (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 the4.xline, which needed no source changes either.