chore: support laravel 13 [3.x]#145
Conversation
There was a problem hiding this comment.
Pull request overview
Adds Laravel 13 compatibility for relaticle/custom-fields by updating a transitive icon dependency and expanding CI coverage to test against both Laravel 12 and 13.
Changes:
- Swap
postare/blade-mdiformanukminasyan/blade-mdito remove the Laravel 12-only constraint. - Allow
orchestra/testbench^11.0for Laravel 13 testing. - Expand the GitHub Actions test matrix to include a Laravel 13 / Testbench 11 leg.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| composer.json | Updates dependencies to support Laravel 13 (via blade-mdi fork) and adds Testbench 11 allowance. |
| .github/workflows/tests.yml | Updates CI matrix to run tests on both Laravel 12 and 13. |
|
Addressed in a729b85 — regenerated |
|
Verified the GitHub Actions matrix is correct as-is. The L13 CI leg of the previous run actually executed This is the documented |
Summary
Adds Laravel 13 support to
relaticle/custom-fields. The package itself doesn't depend on any Laravel 13-breaking APIs — the only blocker was the transitive dependency onpostare/blade-mdi, which is capped at Laravel 12 and unmaintained (open Laravel 13 PRs upstream have sat for over a month with no response).Changes
composer.jsonpostare/blade-mdi: ^1.0withmanukminasyan/blade-mdi: ^1.1.3. This is a Packagist-published fork ofpostare/blade-mdithat:illuminate/supportconstraint to include^13.0Postare\BladeMdi\namespace identical, so existing@svg('mdi-...')calls require no changes"replace": { "postare/blade-mdi": "self.version" }so any other package in the dependency tree that requirespostare/blade-mdicontinues to resolve cleanlyorchestra/testbenchto^10.0|^11.0(testbench 11 covers Laravel 13).github/workflows/tests.ymllaravel: 13.*+testbench: 11.*to the matrix alongside the existing12.*/10.*row, so every push runs against both versionsWhat this does NOT change
^5.0^8.3Test plan
12.*and13.*matrix legsmanukminasyan/blade-mdi)