fydellys/inertia-static
A Laravel package that adds static site generation to Inertia.js apps, rendering existing pages to HTML for fast, SEO-friendly, cacheable deployments while keeping your Inertia components and Laravel workflow intact.
inertia-static:manifest workflow or maintain a custom manifest generator/Vite plugin..gitignore for generated manifests and adding a CI step before vue-tsc/tsc to prevent formatter churn and stale artifacts.inertia-static:doctor as a lightweight guardrail in local and CI workflows.Consider adoption when:
php artisan inertia-static:manifest cannot run, rather than shipping a client without static routing.Look elsewhere when:
For executives: This package reduces the risk of shipping a frontend with broken static routing by making production builds fail fast when the manifest cannot be generated. It adds a small CI step and a doctor command to keep generated files out of source control, improving release reliability with minimal overhead.
For engineering: v0.4.0 strengthens production safety: vite build now fails when inertia-static:manifest cannot run, while vite dev and tests only warn. Treat resources/js/inertia-static.json as generated output—add it to .gitignore and generate it in CI before vue-tsc/tsc. The new inertia-static:doctor command warns when .gitignore does not list the manifest. This is a focused Inertia static-routing package, not a framework replacement; adoption is best when your pipeline can run Artisan before frontend builds.
How can I help you explore Laravel packages today?