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

Assetic Cache Busting Worker Laravel Package

jeroenvdheuve/assetic-cache-busting-worker

A PHP worker for Assetic that adds cache-busting to asset URLs by appending content-based versions or hashes. Helps prevent stale browser caches after deployments by keeping generated asset references in sync with compiled files.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Legacy asset-pipeline triage. This package is a signal, not a solution: its existence marks the class of Laravel/Assetic applications that still need deterministic, hashed asset URLs for CDN and long-cache Cache-Control headers. If your portfolio contains such apps, this is a trigger to scope a migration rather than a component to add.
  • Build vs. buy vs. borrow. The correct decision here is borrow the pattern, not the dependency. The worker's mechanics (hash the compiled asset, rewrite the manifest/URL, emit a versioned path) are ~100 lines of code worth reimplementing inside a maintained build step. Buying or adopting this package imports an unowned liability.
  • Roadmap input for platform modernization. Zero stars, zero dependents, archived, last release July 2015 — this is empirical evidence that the Assetic-on-Laravel path is a dead end. That supports sequencing a migration to Vite/Laravel Mix (or Symfony Asset/Webpack Encore for non-Laravel PHP) ahead of feature work on affected services.
  • Dependency-risk and M&A diligence. If this appears in a composer.json during technical due diligence, treat it as a marker of an unmaintained front-end build chain and price the remediation accordingly.
  • Use cases that justify reading the source: understanding how cache-busting was wired pre-Vite, evaluating whether an inherited app's asset versioning can be preserved during a framework upgrade, or writing an internal compatibility shim for a legacy app you cannot yet migrate.

When to Consider This Package

Consider it only under a narrow, uncomfortable set of conditions:

  • You are maintaining a Laravel 4.x-era application that already depends on Assetic and its cache-busting filter, and you have a hard constraint (frozen release, regulated validation, no build-pipeline changes) preventing migration.
  • You are prepared to vendor the code into your own repository, assume ownership, and accept that no upstream fixes, security patches, or PHP 8 compatibility work will ever arrive.
  • You need the behavioral reference — how versioning keys are generated and substituted — rather than a runtime dependency. Read it, reimplement it, ship your own.

Look elsewhere, decisively, if any of following is true (which covers essentially all greenfield and most brownfield work):

  • You need a maintained dependency, PHP 7.4+/8.x support, or any expectation of security response. Archived since 2015, zero dependents, zero stars: there is no community to lean on.
  • Your stack is Laravel 5+ or later — Laravel Mix, laravel-vite-plugin / Vite, or Symfony's Asset + Webpack Encore solve this with active maintenance, manifest files, and documented upgrade paths.
  • You want cache busting without a build-tool commitment — filemtime()-based query strings or a hash-manifest helper are lower-risk than resurrecting an abandoned pipeline.
  • You are assessing this for a new product or a roadmap commitment. There is no support path, no release cadence, and no successor maintainer.

How to Pitch It (Stakeholders)

For executives (one paragraph): We evaluated jeroenvdheuve/assetic-cache-busting-worker, a small MIT-licensed utility for versioning compiled front-end assets so browsers and CDNs can cache them safely. The underlying business need — reliable cache busting for performance and deploy safety — is real, but this specific package is not the answer: it was last released in 2015, is formally archived, and has no users, maintainers, or dependents. Adopting it would mean owning abandoned code. The recommendation is to treat its presence in our estate as a modernization signal and fund a migration of affected apps to a supported build tool (Vite or Laravel Mix) rather than adding this dependency. Cost of inaction is bounded — legacy apps keep working — but it grows with every framework upgrade.

For engineering leads: Do not add this to composer.json. It is a read-only reference for how Assetic cache busting was wired in the Laravel 4 era. If a legacy service genuinely cannot move off Assetic this quarter, vendor the worker in-tree, add tests, pin it to your own fork, and open a migration ticket with an owner and a date. Otherwise standardize on Vite (laravel-vite-plugin) or Mix with a hash manifest, and use this package's approach only as a sanity check that versioned filenames and manifest lookups behave as expected. Flag any occurrence in inherited codebases as a debt item in the next planning cycle.

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.
adachsoft/changelog-linter
adachsoft/collection
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