Skip to content

Support Laravel 13 - #9

Merged
ph7jack merged 3 commits into
mainfrom
chore/laravel-13-support
Oct 12, 2026
Merged

ph7jack merged 3 commits into
mainfrom
chore/laravel-13-support

Conversation

@ph7jack

@ph7jack ph7jack commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

The site can't move to Laravel 13 while this package pins laravel/framework ^12 and the l12-only torchlight fork.

  • Widens the framework constraint to ^12.0|^13.0.
  • Switches to upstream torchlight/torchlight-laravel ^0.6.2 (released with Laravel 13 support) and drops the laravel-shift fork repository.
  • Caches the menu as a plain array instead of a Collection. Laravel 13 adds cache.serializable_classes; when it is false (the 13.x skeleton default) the cached Collection came back as __PHP_Incomplete_Class and every docs page threw a TypeError. Covered by a new test.
  • Bumps dev tooling to Pest 4/5, Testbench 10/11, Pint 1.32, and actions/checkout to v7.

The suite passes on Laravel 12.69 (Pest 4.7) and Laravel 13.35 (Pest 5.3).

The site cannot upgrade to Laravel 13 while this package pins laravel/framework ^12 and the l12-only torchlight fork. Widens the constraints to ^12|^13, switches to the fork's l13-compatibility branch, and moves dev tooling to Pest 4/5 and Testbench 10/11.
Torchlight v0.6.2 ships Laravel 13 support, so the laravel-shift fork and its VCS repository are no longer needed. Laravel 13 can refuse to unserialize cached objects (cache.serializable_classes), which turned the cached menu Collection into __PHP_Incomplete_Class; caching the plain array avoids that.
@ph7jack ph7jack changed the title Allow Laravel 13 and move to torchlight l13 branch Support Laravel 13 Oct 12, 2026
The Table docs page was removed in 2023 but its menu entry stayed, so the sidebar linked to /components/table, which returns a 500 (view not found), and a reject list papered over it for prev/next links. The entry and the reject list are gone, pages missing from the menu now get no prev/next links, and a test asserts every menu page has a view.
@ph7jack
ph7jack merged commit 35c3df1 into main Oct 12, 2026
1 check passed
@ph7jack
ph7jack deleted the chore/laravel-13-support branch October 12, 2026 20:35
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