The angular-template-cache addon for PHULP.
It's like gulp-angular-templatecache with some modifications.
$ composer require reisraff/phulp-angular-template-cache
<?php
use Phulp\AngularTemplateCache\AngularTemplateCache;
$phulp->task('angular-template-cache', function ($phulp) {
$phulp->src(['src/'], '/html$/')
->pipe(new AngularTemplateCache('templateCacheHtml.js', ['module' => 'app', 'root' => 'app']))
});