webforge/symfony-vite-bundle
Symfony bundle that integrates the Vite front-end build tool into your app. Provides Twig helpers for rendering script and style tags, dev-server HMR support, and manifest-based production asset resolution, so hashed entrypoints work without manual configuration.
Architecture fit
laravel-vite-plugin equivalent. It binds to Symfony's Twig extensions, DI container, bundle config tree, and HTTP kernel.laravel-vite-plugin + @vite Blade directive already solves: reading manifest.json / hot files, emitting correct entry tags for dev vs. production, and wiring HMR.Integration feasibility
0.434 composite score and 0 stars / 0 dependents signal an unvalidated package. That is the dominant feasibility constraint, not the API surface.Technical risk
webforge-labs) with no visible contributor base in the metadata provided.file/css/assets shape are the usual break points; verify peer constraints before committing.server.origin/base misconfiguration, stale hot file after a crashed dev server, and CSP nonces on injected tags.Key questions
modulepreload), base path/CDN prefixing, and CSP nonce injection — or only the happy-path entry tags?Stack fit
laravel-vite-plugin, which is first-party, versioned in lockstep with Laravel, and covers HMR, SSR, preloading, and asset URL rewriting.Migration path
manifest.json parsing in Twig, this bundle is a plausible Encore-to-Vite migration target. Sequence: stand up Vite config → configure bundle entrypoints → cut one low-traffic Twig template over behind a flag → compare emitted tags byte-for-byte against the legacy pipeline → roll forward page-group by page-group.Compatibility
^6/^7 constraint, Twig version, Node/Vite major, and whether it expects public/build/manifest.json vs. a configurable path.symfony/framework-bundle transitive pinning that would block minor upgrades elsewhere in a monorepo.Sequencing
Maintenance
0.x.y) with a lockfile and a documented upgrade runbook. Treat the package as vendored code with a composer autoload rather than a dependency we trust to float.Support
Scaling
Failure modes
hot file after a crashed dev server: production-like environments attempt to reach localhost:5173, producing timeouts and unstyled pages. Mitigate by excluding the hot file from build artifacts.base/CDN prefix misconfiguration: correct filenames, wrong URLs — silent 404s on hashed assets.Ramp-up
How can I help you explore Laravel packages today?