PHPackages                             agallou/grunt-hash-assets-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. agallou/grunt-hash-assets-bundle

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

agallou/grunt-hash-assets-bundle
================================

v1.0.0(4y ago)038.0k↓52.2%3MITPHP

Since Sep 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/agallou/GruntHashAssetsBundle)[ Packagist](https://packagist.org/packages/agallou/grunt-hash-assets-bundle)[ RSS](/packages/agallou-grunt-hash-assets-bundle/feed)WikiDiscussions master Synced 2d ago

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

GruntHashAssetsBundle
=====================

[](#grunthashassetsbundle)

The [grunt-hash](https://www.npmjs.org/package/grunt-hash) [grunt](http://www.gruntjs.com/) plugin allows you to rename files according to their content.

For example a file named `main.css` will be renamed to `main.54e79f6f.css`.

So the file is not easy to include in a Twig template (its name will change at every content change).

This plugin adds a twig function called `grunt_asset`.

Usage
-----

[](#usage)

You can call it like this :

```

```

It will look for files called `main*.css` in the `web/assets/css` directory and serve it as `/assets/main.54e79f6f.css`.

If no file is found or more than one file is found an exception will be thrown.

Configuration
-------------

[](#configuration)

Here is the default plugin configuration :

```
grunt_hash_assets:
    assets_dir: %kernel.root_dir%/../web/assets/
    assets_base_path: /assets

```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2689 days

Total

2

Last Release

1622d ago

Major Versions

v0.1.0 → v1.0.02022-01-23

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/320372?v=4)[Adrien Gallou](/maintainers/agallou)[@agallou](https://github.com/agallou)

---

Top Contributors

[![agallou](https://avatars.githubusercontent.com/u/320372?v=4)](https://github.com/agallou "agallou (6 commits)")[![klnjmm](https://avatars.githubusercontent.com/u/15214050?v=4)](https://github.com/klnjmm "klnjmm (1 commits)")

---

Tags

assetsgrunt

### Embed Badge

![Health badge](/badges/agallou-grunt-hash-assets-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/agallou-grunt-hash-assets-bundle/health.svg)](https://phpackages.com/packages/agallou-grunt-hash-assets-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[symfony/stimulus-bundle

Integration with your Symfony app &amp; Stimulus!

17417.5M295](/packages/symfony-stimulus-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)[metamodels/core

MetaModels core

10156.4k68](/packages/metamodels-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
