Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bezoerb/filerevbundle
Provides a configurable filerev strategy for your symfony2 project
https://github.com/bezoerb/filerevbundle
Last synced: 14 days ago
JSON representation
Provides a configurable filerev strategy for your symfony2 project
- Host: GitHub
- URL: https://github.com/bezoerb/filerevbundle
- Owner: bezoerb
- Created: 2015-12-03T06:09:31.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-28T09:24:29.000Z (about 8 years ago)
- Last Synced: 2024-10-18T19:17:57.521Z (26 days ago)
- Language: PHP
- Size: 23.4 KB
- Stars: 2
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
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:
```json
{
"/styles/main.css": "/styles/main.59983df7.css",
"/scripts/main.js": "/scripts/main.c711a749.js"
}
```## Installation
#### Step 1: Download```bash
composer require zoerb/filerevbundle
```#### Step 2: Enable the bundle
Finally, enable the bundle in the kernel:```php