betsol/assets-referencer-bundle
asset() function (which lacks base URL customization).symfony/webpack-encore or stimulus-use/asset-pipeline instead).For Executives: "This bundle lets us manage all static assets (images, CSS, JS) from a single config file, cutting deployment risks and making future changes—like switching to a CDN—effortless. It’s a 10-minute setup that saves hours of template updates and reduces bugs from hardcoded paths. Low risk, high reward for maintainability."
For Engineers:
"Replace scattered {{ asset() }} calls with {{ asset_reference() }} to centralize asset URLs via config.yml. No more hunting for broken paths during deployments, and you can flip the base URL for all environments with one edit. Works seamlessly with Symfony’s ecosystem and adds zero runtime overhead. Tradeoff: minimal adoption (1 star), but the code is straightforward and extensible if needed."
For Developers:
"Imagine changing your asset host from localhost:8000 to cdn.example.com without touching 50 template files. This bundle gives you that—just update the config. It’s like Symfony’s asset() function, but with a dynamic base URL. Perfect for teams that value consistency over reinventing the wheel."
How can I help you explore Laravel packages today?