Upgrades to Laravel 13#428
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bumps laravel/framework to ^13 and the surrounding ecosystem (Pest 4 / PHPUnit 12, tinker 3, debugbar 4, sanctum, socialite, ignition, ide-helper, typescript-transformer, spatie/laravel-data). Migrates Hybridly 0.9 to 0.10: rewrites the architecture config and component loader, replaces the now-final base middleware with a per-request share()/persist() middleware, adopts the hybridly()->view() API and .view.vue/.layout.vue naming, and restores the icon and auto-import unplugin integrations the vite plugin no longer bundles. Renames the CSRF middleware to PreventRequestForgery and swaps the abandoned genealabs/laravel-model-caching for mike-bronner/laravel-model-caching. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The Pint 1.29 bump from the Laravel 13 upgrade enforces fully_qualified_strict_types and ordered_imports across the codebase. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades the app from Laravel 12 to Laravel 13 (
12.52 → 13.15). The framework bump itself is small — the bulk of the work was migrating Hybridly 0.9 → 0.10 (required for L13 support), which carried a number of breaking changes. Also swaps the now-abandonedgenealabs/laravel-model-cachingfor its successormike-bronner/laravel-model-caching.What's changed
Dependencies
laravel/framework→^13, plus Pest 4 / PHPUnit 12, tinker 3, debugbar 4, and L13-compatible bumps of sanctum, socialite, ignition, ide-helper, typescript-transformer, spatie/laravel-data.hybridly→0.10.0-beta.26; re-addedunplugin-auto-import/unplugin-vue-components/unplugin-icons(0.10 no longer bundles them).genealabs/laravel-model-caching→mike-bronner/laravel-model-caching(drop-in — identicalGeneaLabs\LaravelModelCachingnamespace, so theCachablemodels are unchanged).Laravel 13
VerifyCsrfToken→PreventRequestForgery(class, kernel, sanctum config).Hybridly 0.10 migration
config/hybridly.phparchitecture format (component_loader,entrypoint)..view.vue/.layout.vue; backend identifiers →views.*.hybridly('x', …)→hybridly()->view('x', …);Deferrednamespace move.finalbase middleware replaced by a per-requestshare()/persist()middleware, with Hybridly's own middleware registered in the web group.validationpayload.vite.config.tsrebuilt with the three unplugin integrations the plugin used to bundle.Verification
/auth: page renders, icons resolve to real SVGs,route()produces valid hrefs, and sharedsecurity/sponsorUrlprops flow through.Notes
route()calls compile and use the same mechanisms proven on/auth, but a quick manual check while logged in is worth it.Refreshes Laravel Boost guidelines and skills) is unrelated Boost guideline churn — safe to drop if unwanted.composer updatewas run with--no-scripts; theide-helper/boost:updatepost-update scripts haven't been run yet.Test plan
🤖 Generated with Claude Code