helthe/turbolinks
Laravel integration for Turbolinks, the JavaScript library that speeds navigation by swapping page bodies instead of full reloads. Adds middleware, helpers, and Blade directives to handle Turbolinks visits, redirects, and asset tracking in Laravel apps.
data-turbolinks-track asset fingerprints, and redirect handling for partial responses. The product outcome is faster-feeling navigation (body swap instead of full reload) on an existing server-rendered Blade app, at a fraction of the cost of an SPA migration.Consider it when all of the following hold:
turbolinks:load, third-party widgets (analytics, chat, payment iframes) are re-initializable, and there are no assumptions of a clean document per navigation.Look elsewhere when:
To executives (30 seconds): "We can make the app feel roughly twice as fast on page-to-page navigation with a small, MIT-licensed integration layer, no redesign and no new platform. It is a tactical win that lets us hit this quarter's performance target while we decide whether to invest in a proper frontend modernization next cycle. Cost: days, not months. Risk: the underlying technique is a legacy one, so we treat it as a bridge, not a foundation."
To engineering: "This is a thin Laravel integration for Turbolinks — request middleware, Blade helpers for asset tracking, redirect handling. It replaces maybe a day of hand-rolled glue. Two caveats I want your read on: (1) upstream Turbolinks is archived and Hotwire Turbo is the maintained successor with essentially the same programming model, so the migration path is clean but now is the cheaper moment to pick the successor; (2) the package's Laravel/PHP compatibility needs a half-day spike before we commit. If the spike is clean, this is a low-ceremony way to ship the performance win and keep the door open."
Decision framing to leave on the table: approve a short spike comparing this package against Hotwire Turbo on the same codebase — same effort envelope, and it turns a legacy dependency into a maintained one. Default to this package only if the spike shows Turbo's integration cost is materially higher and the app is genuinely on a short horizon before replatforming.
How can I help you explore Laravel packages today?