PHPackages                             zoerb/filerevbundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. zoerb/filerevbundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

zoerb/filerevbundle
===================

Handle asset rewrites based on json configuration

v1.1.1(9y ago)212.3k4[1 issues](https://github.com/bezoerb/FilerevBundle/issues)MITPHPPHP &gt;=5.3.9

Since Dec 5Pushed 9y ago1 watchersCompare

[ Source](https://github.com/bezoerb/FilerevBundle)[ Packagist](https://packagist.org/packages/zoerb/filerevbundle)[ RSS](/packages/zoerb-filerevbundle/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (9)Used By (0)

ZoerbFilerevBundle
==================

[](#zoerbfilerevbundle)

This bundle adds support for handling asset cachbusting rewrites based on a JSON configuration. It enables you to drop assetic and use frontend tooling like `grunt` or `gulp` to build and rev your assets. The only thing you need is the rev summary provided by [`gulp-rev`](https://github.com/sindresorhus/gulp-rev) or [`grunt-filerev`](https://github.com/yeoman/grunt-filerev) and this bundle will handle everything else.

The summary file should look something like this:

```
{
  "/styles/main.css": "/styles/main.59983df7.css",
  "/scripts/main.js": "/scripts/main.c711a749.js"
}
```

Installation
------------

[](#installation)

#### Step 1: Download

[](#step-1-download)

```
composer require zoerb/filerevbundle
```

#### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

Finally, enable the bundle in the kernel:

```
