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)036.6k↓35.7%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 1mo 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 80% 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

1576d ago

Major Versions

v0.1.0 → v1.0.02022-01-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/fa2f1549d1da71962df7d2d4f4abcfddfa864b984198eb4c465c6948579d035a?d=identicon)[agallou](/maintainers/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

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2692.9M24](/packages/stfalcon-tinymce-bundle)[maba/webpack-bundle

Bundle to Integrate Webpack to Symfony

123268.2k4](/packages/maba-webpack-bundle)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)[leapt/core-bundle

Symfony LeaptCoreBundle

2529.1k4](/packages/leapt-core-bundle)

PHPackages © 2026

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