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

Technical Evaluation

  • Architecture fit: Poor for a modern Laravel/PHP application. This is not a Laravel package; it is an Assetic cache-busting worker and therefore assumes an Assetic asset pipeline rather than Laravel’s Vite/Mix manifest model. It does not provide a service provider, configuration surface, facade, Blade helper, or Laravel-native asset resolution. It can only fit a legacy application already using Assetic plus a custom bridge.
  • Integration feasibility: Low. The package was last released in 2015, is archived, and has zero stars/dependents, so there is no evidence of support for modern Laravel or PHP 8+. Composer constraints likely target old PHP/Symfony/Assetic versions. A trial is feasible only in an isolated legacy branch with pinned dependencies, custom wiring, and explicit tests.
  • Technical risk: High. The upstream is abandoned, transitive dependencies are likely obsolete, security patching is absent, the worker contract is undocumented here, and behavior around manifests, filename hashing, CDN headers, opcache, and deterministic builds is unverified. MIT licensing lowers legal risk and permits forking, but does not reduce operational risk.
  • TPM leverage: The practical leverage is as a reference for legacy cache-busting behavior during migration, not as a runtime dependency. If a legacy Assetic estate exists, use it to document expected outputs and then replace it with a maintained Laravel-native approach.
  • Key questions: Which Assetic version and worker interface does it implement? Which PHP/Laravel/Symfony constraints are declared in composer.json? Does it emit a manifest, rewrite filenames, or inject URLs at runtime? Is output deterministic and CDN-safe? What is the replacement target: Vite manifest, Laravel Mix, Symfony AssetMapper, or a custom content-hash step? Who owns a fork if legacy support is mandatory? What is the cost of migration versus retaining a pinned legacy pipeline?

Integration Approach

  • Stack fit: Not a natural fit for supported Laravel versions. Use only as a temporary compatibility shim in a legacy Laravel app that already runs Assetic. For greenfield or supported Laravel, use Vite via laravel-vite-plugin or Mix; for Symfony, use AssetMapper or Encore.
  • Migration path: Do not add this package to a supported application’s dependency graph. If legacy constraints require it, fork or pin it, isolate it in a Docker image with the matching old PHP runtime, add golden tests for generated asset URLs/manifests, and replace the worker with a thin adapter over Vite’s manifest or a small content-hash build step. Preserve MIT attribution if code is copied.
  • Compatibility: Verify composer.json constraints before any trial; expect conflicts with PHP 8+, modern Symfony components, and current Laravel dependencies. Confirm Assetic’s own maintenance status and the exact worker API. Avoid mixing Assetic and Vite/Mix in the same asset graph.
  • Sequencing: Inventory the existing asset pipeline, manifest format, and cache headers; prove the package in a disposable legacy environment; capture expected hashed outputs; implement an equivalent in the target build; run side-by-side URL verification; cut over CDN/cache rules; remove Assetic and the worker. If no legacy Assetic estate exists, close as “do not adopt” and document the maintained replacement.

Operational Impact

  • Maintenance: Effectively zero upstream maintenance. Archived status means no bug or security fixes. A TPM should budget for fork ownership, dependency pinning, or migration, and should avoid making this a long-lived strategic dependency.
  • Support: No community support, limited documentation, and zero dependents. Internal Assetic expertise is required. MIT permits forking but does not create support capacity; vendor support is unavailable.
  • Scaling: If used only at build time, runtime scaling impact is limited and static assets can remain CDN-cached. However, old PHP build tooling and unknown single-worker behavior may constrain CI throughput and reproducibility. Runtime behavior under modern PHP/opcache is unproven.
  • Failure modes: Composer resolution failures, PHP incompatibility, missing or incorrect manifests, stale hashed URLs, wrong cache-control headers, CDN purge misses, non-deterministic hashes, and silent deploy success with broken assets. Add build assertions that compare manifest entries to emitted files.
  • Ramp-up: High for modern Laravel engineers because Assetic is unfamiliar and obsolete; low only for engineers already maintaining legacy Assetic. Plan knowledge transfer, runbooks, and a time-boxed migration rather than training new hires on it as a strategic tool.
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.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package