Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Inertiajs Laravel Package

laravel-frontend-presets/inertiajs

A Laravel frontend preset that scaffolds Inertia.js in a fresh app, wiring up authentication, layouts, and example pages so you can skip manual setup and start building single-page apps with Laravel as the backend and Vue or React on the frontend.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. This is a one-time scaffolding preset, not a runtime library — it injects an Inertia.js client/server setup, controllers, and asset pipeline config into a fresh Laravel app. Architecture fit is currently poor: Laravel removed the php artisan preset command in v6, and the ecosystem has since standardized on Vite, official starter kits (Breeze/Jetstream), and first-party Inertia server adapters (inertiajs/inertia-laravel). The preset's generated structure (Laravel Mix, webpack, Vue 2-era conventions) no longer matches a modern Laravel 10–12 application layout.

Integration feasibility. Low for any current stack. Release 0.4.0 widens the supported framework matrix to include Laravel 7, but that is a marginal expansion — Laravel 7 is itself end-of-life and roughly five major versions behind current Laravel. Even in its prime, the preset only bootstrapped the client and server sides of Inertia; teams still had to adopt the Inertia server adapter and npm packages directly. On modern Laravel, its pinned PHP/framework constraints and Node toolchain will still conflict with Composer and npm resolutions. Net: the package saves near-zero integration effort today and adds cleanup burden.

Technical risk. High. The 0.4.0 changelog is a single Laravel 7 compatibility item; there are no feature additions, no dependency modernization (webpack, Babel, node-sass, Vue 2/React 16 pins are unchanged in scope), and no signal of renewed maintenance. Risks include:

  • Composer/Node dependency drift (old webpack, Babel, node-sass, Vue 2/React 16 pins).
  • Generated configs incompatible with Vite-based builds.
  • Transitive dev-dependency security findings from a 2020 toolchain.
  • Abandonware risk — the release cadence stalled in 2020, and there is no evidence of sustained upstream triage or fixes after 0.4.0.

Key questions.

  • What Laravel and Node versions are we standardizing on? (Determines whether this package is even installable — Laravel 7 support does not help a Laravel 10–12 target.)
  • Do we actually need a preset, or just inertiajs/inertia-laravel plus npm client packages?
  • Are we committed to Inertia, or is server-driven (Blade/Livewire) or a SPA-first approach still on the table?
  • Is there a mandate to use only first-party/official scaffolding?
  • Does the Laravel 7 addition change anything for a legacy app we still run, or is that app already past 7?

Integration Approach

Stack fit. Only plausible on legacy Laravel 5.8/6.x/7.x with Laravel Mix and Vue 2/React 16 — a stack we would not greenfield. The 0.4.0 Laravel 7 addition extends the legacy envelope but does not touch Vue 3, React 18, TypeScript, Vite, or Inertia v1/v2, all of which are now the norm.

Migration path. Recommended path: do not install this package. Adopt Inertia via the official route:

  1. composer require inertiajs/inertia-laravel
  2. npm install @inertiajs/vue3 (or @inertiajs/react)
  3. Use Laravel Breeze (Inertia flavor) or Jetstream for opinionated starter scaffolding, or follow the Inertia docs' manual setup (middleware, root view, Vite config). If a legacy app already uses this preset, treat it as a source of inspiration only — port the generated files into the modern structure rather than reinstalling. Release 0.4.0 does not create a new migration path; it only makes the preset marginally more usable on a framework version we would not target anyway.

Compatibility. With 0.4.0, expect laravel/framework and php constraints spanning roughly ^5.8|^6.x|^7.x. Node side likely still references webpack 4, laravel-mix 4/5, @inertiajs/inertia (pre-v1), vue 2.x. These remain incompatible with current Laravel apps without significant upgrades, and the 0.4.0 change does not alter that.

Sequencing. If a team still wants to evaluate it:

  1. Snapshot the repo/branch; confirm 0.4.0 is the version under test.
  2. Attempt install in a throwaway branch; capture composer.lock/package-lock.json diffs.
  3. Diff generated files against a Breeze/Jetstream baseline.
  4. Cherry-pick anything still valuable (e.g., route conventions), then uninstall the preset and pin dependencies manually. Parallel-track: pilot the official Breeze-Inertia starter kit as the real baseline. Note that 0.4.0 changes the installability ceiling, not the target architecture, so it should not reorder this sequence.

Operational Impact

Maintenance. Effectively abandoned. The 0.4.0 release adds Laravel 7 support but represents a negligible maintenance signal — one compatibility commit, no ongoing cadence, 145 stars, zero dependents, and no follow-on activity. Adopting it means owning a fork.

Support. Community-only via the GitHub repo; no vendor, no SLA, no active issue triage. The 0.4.0 release is single-contributor credit (@rokde), underscoring bus-factor risk. Escalation paths are effectively “fork it ourselves.”

Scaling. As scaffolding, it doesn't affect runtime scaling — but its generated build config (webpack 4) is a scaling liability: slower builds, harder to adopt Vite, and no path to modern code-splitting/HMR ergonomics without a full toolchain upgrade. Nothing in 0.4.0 addresses this.

Failure modes.

  • Composer resolution failure against modern Laravel/PHP (Laravel 7 support does not extend to 10–12).
  • npm install failure from stale peer dependencies.
  • Generated configs breaking under Vite or modern ESLint/TypeScript setups.
  • Security findings on 2020-era dev dependencies (webpack 4, node-sass, older Babel).
  • Silent drift: preset scaffold diverges from team conventions, forcing cleanup later.
  • False-positive signal: a fresh version number may read as “actively maintained” to less-informed stakeholders; validate with changelog depth, not version count.

Ramp-up. Low for engineers who already know Inertia; misleading for anyone learning — the preset pattern (Mix/webpack, Vue 2) teaches an outdated workflow. The 0.4.0 release does not change the learning value. Better ramp-up investment: Inertia’s official docs and Laravel Breeze.

Bottom line. Release 0.4.0 (Laravel 7 support) is a narrow compatibility bump, not a revival; the strategic conclusion is unchanged. Treat as legacy/archived. Do not adopt for new work; replace with inertiajs/inertia-laravel + a modern client package, scaffolded via Laravel Breeze (Inertia) or Jetstream. Reserve the package only for maintaining an existing Laravel 5.8/6.x/7.x app where reinstalling is cheaper than migrating — and even then, verify the 0.4.0 constraint bump actually resolves cleanly in that app before relying on it.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator