knpuniversity/webpack-encore-bundle
Symfony bundle that integrates Webpack Encore, adding Twig helpers for script and link tags, entrypoint management, and asset versioning so you can use modern JavaScript tooling cleanly within Symfony applications.
symfony/webpack-encore-bundle. The decision left is "migrate to the maintained successor" or "harvest the pattern (manifest parsing) and drop the package."Bundle class, boots off the kernel, and exposes Twig helpers. If the request surfaced from a Laravel team, the correct and reusable decision is "not applicable, standardize on Laravel Vite," made once as policy rather than re-litigated per team.symfony/* constraints can pin components and block framework upgrades. That belongs in the same prioritization lane as other unmaintained-dependency risks, because it presents as a blocked upgrade rather than an asset bug.Adoption criteria are effectively historical only:
composer require change with no code changes, so this is a short-lived stop, not an endpoint.Look elsewhere by default, and do not adopt for new work:
symfony/webpack-encore-bundle, the official maintained successor (and note that Symfony now steers new projects toward AssetMapper entirely).laravel-vite-plugin. There is no Laravel analogue for the bundle's bundle/DI/Twig surface; forcing it means running a Symfony micro-kernel alongside Laravel's HTTP kernel to reproduce roughly 150 lines of JSON manifest reading.Bottom line: do not adopt; spend nothing on it; spend a little to confirm nothing depends on it. This is an archived Symfony integration bundle for Webpack Encore — build-pipeline glue with no product capability. It was superseded within its own ecosystem when the project moved to Symfony's maintained bundle, which is why the repo is frozen. It carries unmaintained-dependency risk (no security response, no compatibility guarantees, effectively no community) and, in a Laravel context, concrete upgrade-blocking risk from its transitive Symfony constraints.
For executives: zero cost to avoid, real cost to keep. Two asks: a standing directive that new work uses first-party tooling — Symfony's Encore bundle (or AssetMapper), and Vite for Laravel — and a one-time inventory to confirm no production service still imports the KNP namespace. If one does, it's a one-line package swap to the maintained successor, not a rebuild.
For engineering: treat this as a migration ticket, not an evaluation ticket. Confirm references to the KNP namespace; if present, swap to symfony/webpack-encore-bundle and validate the build against the current entrypoints.json; if absent, close it. If the underlying driver is an existing Encore config in a Laravel app, harvest the manifest-parsing pattern into a small service provider behind a feature flag rather than installing this package, and sequence a Vite migration (typically 1–3 days) as the real destination. Do not add this package to any template, starter kit, or scaffold — that would propagate an archived dependency into every future project.
How can I help you explore Laravel packages today?