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.
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:
Key questions.
inertiajs/inertia-laravel plus npm client packages?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:
composer require inertiajs/inertia-laravelnpm install @inertiajs/vue3 (or @inertiajs/react)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:
composer.lock/package-lock.json diffs.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.
npm install failure from stale peer dependencies.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.
How can I help you explore Laravel packages today?