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

Asset Bundle Laravel Package

integrated/asset-bundle

Integrated Asset Bundle is a Laravel package for managing and serving front-end assets, bundling CSS and JavaScript into optimized files and simplifying asset registration, versioning, and publishing within PHP applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy vs. borrow for the asset pipeline. The recurring question is whether asset delivery — bundling, minification, versioning, cache-busting — deserves any of our engineering time. This package is a candidate "borrow" option sitting against two alternatives: ~200 lines we control in-house, or Laravel's own Vite integration (which already covers most of the stated feature list). The decision it informs is which of those three we default to, not whether this specific package is good.
  • Scope for asset-dependent user-facing features. Anything user-visible that depends on hashed filenames, per-page bundles, CDN-hosted URLs, preload hints, or theme/white-label asset swapping (multi-tenant branding, publishable CSS/JS shipped from our own packages) forces an ownership decision. The package's config-driven bundle model and Blade directives are a concrete data point for that scoping conversation — but a data point, not a recommendation.
  • Performance roadmap sizing. If LCP, cache-hit ratio, or bundle size is a measured roadmap goal, an asset layer becomes a delivery lever. Worth sizing; not automatically worth adopting. Note the package's environment-aware dev/production toggling is table stakes, not differentiation — Vite already provides it.
  • Legacy surface-area decisions. For applications still on Laravel Mix or hand-rolled public/ copying, the fork in the road is "modernize to Vite" vs. "incrementally patch." This package is only relevant to the second path, and only if a spike shows it lowers migration risk rather than adding a second asset-resolution mental model.
  • Dependency-ownership budgeting. With 0 stars, 0 dependents, and an opportunity score of 17, the real decision this surfaces is resourcing: are we willing to own a fork, name an internal maintainer, and carry a quarterly health check? That is a headcount line item disguised as a Composer entry.
  • Package/extension publishing strategy. If we ship Laravel packages that need to publish versioned assets into host applications, the config-defined bundle + Blade directive pattern is one possible shape. Compare it against the standard vendor:publish + Vite manifest approach before committing to either.

When to Consider This Package

Consider only after a time-boxed spike. The adoption signals are too thin for a default recommendation, and the honest baseline comparison is "this vs. Laravel Vite vs. code we own."

Worth a look when:

  • You have a specific, nameable gap the first-party Vite setup does not close — e.g., a package that must publish versioned assets, a multi-tenant theme resolver, or non-Vite legacy build output that still needs manifest-style resolution. If the gap can't be stated in one sentence, stop.
  • The codebase is small enough that the entire source can be read in an afternoon and you are comfortable owning it under MIT with a named internal maintainer.
  • You are on a Laravel/PHP version the package explicitly declares in composer.json — verified, not inferred from a README badge.
  • You are prepared to treat it as vendored/forked code, pinned to a commit SHA, not as an external dependency you can file issues against.
  • Your deployment is build-time only — no runtime writes to public/. Runtime asset writes in a hardened container are a blocker, not a trade-off.

Look elsewhere when:

  • The project is greenfield on a current Laravel release. Vite is the documented, community-supported path with effectively zero onboarding cost because it appears in every tutorial the team already reads. Zero dependents means zero Stack Overflow answers and zero blog posts when something breaks at 2 a.m.
  • You need HMR, SSR asset handling, or a mature plugin ecosystem. Nothing in the package description suggests it competes here.
  • Asset integrity is security-relevant (SRI, CSP nonces, supply-chain review). An unaudited single-maintainer package is the wrong place to put that surface.
  • It introduces a parallel asset-resolution abstraction rather than consuming the Vite manifest. A second source of truth for asset paths is a permanent maintenance tax, and no metadata here indicates manifest compatibility.
  • You cannot confirm commit recency, test coverage, CI status, and issue responsiveness. Treat missing maintenance signals as a "no," not a "maybe."
  • The parallel-run spike fails to show a measurable win within one sprint. Default outcome is discard, documented.

Due-diligence gate before any adoption: last commit date, issue triage responsiveness, test suite presence, transitive dependency health, conflict analysis against Vite, behavior under config:cache and route:cache, deterministic content hashing across two consecutive builds, and a written exit plan with an hour estimate for removal.

How to Pitch It (Stakeholders)

To executives: This is a small MIT-licensed component covering a narrow slice of asset delivery — bundling, minification, and cache-busting — that our current framework tooling largely addresses already. The cost to evaluate is a one-to-two day spike. The cost to depend on it without a plan is open-ended: adoption across the ecosystem is effectively zero and maintenance is unproven, so we would inherit the patch burden. Frame it as an experiment with an explicit kill criterion, not a platform decision, and keep it off the critical path of any revenue-driving release. Approve investigation, not adoption.

To engineering: The comparison is not "this package vs. nothing." It's "this package vs. Laravel's built-in Vite pipeline vs. roughly 200 lines we write and control." Run a spike that answers three questions: (1) what does it do that our current setup does not, in one sentence; (2) how many lines is it, and does it consume the Vite manifest or require its own build step; (3) what does removal cost in hours. Pin to a commit SHA, run it behind a flag in staging only, and add a post-deploy smoke test that fetches a known asset URL and asserts 200 plus the expected content hash — silent production-only asset 404s are the failure mode that will actually page someone. If the answer to (1) is "not much," the recommendation is to skip it — a cheap, decisive no is a good outcome.

Bottom line for the decision log: Low opportunity signal (17), zero adoption signal, permissive license, unproven maintenance. Approve a time-boxed spike; default to discard; if adopted, fork into an internal namespace with a named owner and a quarterly health check.

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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console