miguel/assetic-angular-js-bundle
Integrates AngularJS asset files with the Assetic pipeline, letting PHP applications bundle, filter, and serve Angular scripts through a single configurable bundle rather than manual includes. A small legacy package best suited to older projects already built on Assetic.
.html files) and emit a JS file that pre-populates $templateCache, so the browser doesn't fire an XHR per directive. That is roughly 50 lines of globbing, escaping, and $templateCache.put(...) generation. This assessment should push the decision toward "build in-house" or "use a maintained JS build-tool plugin," not "add a dependency."symfony/assetic-bundle, which is itself abandoned. If the question is "can we use this in our Laravel app?", the answer is no, and the real decision is about which stack the legacy surface actually runs on.Adopt only when all of the following hold:
Look elsewhere — or build the ~50-line equivalent — when:
laravel-elixir-angular-templatecache or the equivalent, or inline <script type="text/ng-template"> blocks for small template counts.ngtemplate-loader or grunt-angular-templates / gulp-angular-templatecache in a JS build step.ng-template scripts are simpler, cacheable, and dependency-free.For executives: This is a small, MIT-licensed utility that bundles AngularJS HTML templates into the JavaScript payload so pages render faster. It is not a strategic component and it is not maintained — zero stars, zero downstream users, no releases. The recommendation is not to adopt it as a dependency. The cost of ownership (an abandoned Assetic and an end-of-life AngularJS) exceeds the cost of reproducing the functionality in-house, which is a few hours of engineering. There is no budget ask here beyond that.
For engineering: The package is a Symfony Assetic filter, so it is not applicable to a Laravel codebase. Where a template-cache step is genuinely needed, implement it in the existing JS build (Webpack/Vite/Encore) with a maintained loader, or write a local filter — glob the partials, escape the HTML, emit $templateCache.put(path, html). Either route gives you the same runtime artifact with a dependency you control. If the legacy Symfony/AngularJS app must stay up temporarily, vendor this code, pin it, and log it as tracked technical debt with an owner and a migration target date.
How can I help you explore Laravel packages today?