Download the PHP package incenteev/hashed-asset-bundle without Composer
On this page you can find all versions of the php package incenteev/hashed-asset-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download incenteev/hashed-asset-bundle
More information about incenteev/hashed-asset-bundle
Files in incenteev/hashed-asset-bundle
Package hashed-asset-bundle
Short Description Apply an asset version based on a hash of the asset for symfony/asset
License MIT
Informations about the package hashed-asset-bundle
HashedAssetBundle
The HashedAssetBundle provides an asset version strategy which uses a hash of the file content as asset version. This allows bumping the asset version separately for each asset (automatically).
Installation
Use Composer to install the bundle:
Usage
Register the bundle in the kernel:
Then configure FrameworkBundle to use the new version strategy:
Advanced configuration
The default configuration should fit common needs, but the bundle exposes a few configuration settings in case you need them:
License
This bundle is under the MIT license.
Alternative projects
If you want to apply cache busting by renaming files in your asset pipeline
(for instance with the webpack-encore versioning feature), have a look at the
json_manifest
strategy available in Symfony itself.
Reporting an issue or a feature request
Issues and feature requests are tracked in the Github issue tracker.
All versions of hashed-asset-bundle with dependencies
symfony/asset Version ^4.4.13 || ^5.3 || ^6.0 || ^7.0
symfony/cache Version ^4.4.13 || ^5.3 || ^6.0 || ^7.0
symfony/config Version ^4.4 || ^5.3 || ^6.0 || ^7.0
symfony/dependency-injection Version ^4.4.13 || ^5.3 || ^6.0 || ^7.0
symfony/finder Version ^4.4.13 || ^5.3 || ^6.0 || ^7.0
symfony/framework-bundle Version ^4.4.13 || ^5.3 || ^6.0 || ^7.0
symfony/http-kernel Version ^4.4.13 || ^5.3 || ^6.0 || ^7.0