PHPackages                             avholodnyak/assets-buster-bundle - 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. avholodnyak/assets-buster-bundle

ActiveSymfony-bundle

avholodnyak/assets-buster-bundle
================================

This bundle provides support for cache busting using buster files. It uses custom version strategies feature that was introduced in Symfony 3.1.

v1.0.0(9y ago)122MITPHP

Since Dec 23Pushed 9y ago1 watchersCompare

[ Source](https://github.com/avholodnyak/AssetsBusterBundle)[ Packagist](https://packagist.org/packages/avholodnyak/assets-buster-bundle)[ RSS](/packages/avholodnyak-assets-buster-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (11)Versions (3)Used By (0)

GulpBusterBundle
================

[](#gulpbusterbundle)

[![Build Status](https://camo.githubusercontent.com/cc40e9647465e9abb09a16e82ba473a62591a4f511831f9bfdac8d181d606bed/68747470733a2f2f7472617669732d63692e6f72672f6176686f6c6f646e79616b2f41737365747342757374657242756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/avholodnyak/AssetsBusterBundle)[![Coverage Status](https://camo.githubusercontent.com/80a3065bf676a4048664bf166347830fbfd6d8be17bbf275d350472a8be36404/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6176686f6c6f646e79616b2f41737365747342757374657242756e646c652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/avholodnyak/AssetsBusterBundle?branch=master)

When you write your front-end application you often need to update cached assets on the client side. This bundle provides you an ability to update cached assets by using busters files (you can generate these files by using [gulp-buster](https://www.npmjs.com/package/gulp-buster) package).

This bundle uses the [custom version strategies feature](http://symfony.com/doc/current/frontend/custom_version_strategy.html)that was introduced in Symfony 3.1. When I was creating this bundle I was inspired by [that article](http://symfony.com/doc/current/frontend/custom_version_strategy.html).

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

[](#installation)

Install the bundle using composer:

```
$ composer require avholodnyak/assets-buster-bundle

```

Then, enable the bundle by adding it to the list of registered bundles in the `app/AppKernel.php` file of your project:

```
