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

Webpack Encore Bundle Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Dependency inventory and technical-debt triage, not feature prioritization. This package unlocks no user-facing capability. Its entire PM value is as a line item in a dependency register: an archived Symfony bundle (10 stars, 0 dependents, score 0.07) that tells you where migration work is owed.
  • Build-vs-buy on frontend asset tooling. The buy/adopt side of this question is already closed: the bundle was donated to the Symfony project and this repository is archived in favor of symfony/webpack-encore-bundle. The decision left is "migrate to the maintained successor" or "harvest the pattern (manifest parsing) and drop the package."
  • Platform standardization. The package is a Symfony bundle — it extends Symfony's 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.
  • Upgrade roadmap risk. Archived status means no compatibility work for newer Symfony, PHP, or Webpack versions, and its transitive 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.
  • Maintenance-mode scoping. For a feature-frozen or maintenance-only Symfony app already wired to this exact namespace, "freeze and accept" can be a legitimate, explicitly recorded decision — but it should be a decision, not an oversight.

When to Consider This Package

Adoption criteria are effectively historical only:

  • Legacy Symfony app already on this exact namespace, where the namespace swap cost exceeds the cost of freezing, and the app is in maintenance-only mode with no planned Symfony, PHP, or Node major upgrades.
  • Migration-in-progress, as an interim state: since the successor is API-identical, the swap is a 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:

  • Any new Symfony work: use symfony/webpack-encore-bundle, the official maintained successor (and note that Symfony now steers new projects toward AssetMapper entirely).
  • Any Laravel work: use first-party 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.
  • Greenfield frontends of any kind: plain Vite or plain webpack with explicit config is simpler than a framework bridge and doesn't tie the build to a bundle's release cadence.
  • Any team needing security patching, support contracts, or an upgrade path: archived repositories provide none of these, and with 10 stars and 0 dependents, community self-support is thin.

How to Pitch It (Stakeholders)

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.

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.
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk