PHPackages                             johnpbloch/composer-grunt-bridge - 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. johnpbloch/composer-grunt-bridge

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

johnpbloch/composer-grunt-bridge
================================

Grunt integration for Composer packages.

0.0.2(10y ago)35.1k5[1 issues](https://github.com/johnpbloch/composer-grunt-bridge/issues)MITPHPPHP &gt;=5.4

Since Feb 18Pushed 9y ago1 watchersCompare

[ Source](https://github.com/johnpbloch/composer-grunt-bridge)[ Packagist](https://packagist.org/packages/johnpbloch/composer-grunt-bridge)[ Docs](https://github.com/johnpbloch/composer-grunt-bridge)[ RSS](/packages/johnpbloch-composer-grunt-bridge/feed)WikiDiscussions master Synced 1mo ago

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

Composer Grunt bridge
=====================

[](#composer-grunt-bridge)

*Grunt integration for Composer packages.*

A quick proof of concept based entirely on (and shamelessly stolen from) [the composer-npm-bridge](https://github.com/eloquent/composer-npm-bridge).

Basically, add this to your `composer.json` requirements to have composer run the default grunt task for your project on install or update. You can specify a certain non-default task or list of tasks using the `"extra"` object:

```
// Specify one task to run
{
  "extra": {
    "grunt-task": "build"
  }
}
// OR specify multiple tasks to run
{
  "extra": {
    "grunt-task": ["sass", "concat", "uglify", "cssmin"]
  }
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~112 days

Total

2

Last Release

3987d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/044e10bd302ddb296511f2a463f61314bc17338c34fc0d292d05a425c655bc34?d=identicon)[johnpbloch](/maintainers/johnpbloch)

---

Top Contributors

[![johnpbloch](https://avatars.githubusercontent.com/u/446833?v=4)](https://github.com/johnpbloch "johnpbloch (4 commits)")

---

Tags

plugincomposerpackageBridgeintegrationcomposer-plugingrunt

### Embed Badge

![Health badge](/badges/johnpbloch-composer-grunt-bridge/health.svg)

```
[![Health](https://phpackages.com/badges/johnpbloch-composer-grunt-bridge/health.svg)](https://phpackages.com/packages/johnpbloch-composer-grunt-bridge)
```

###  Alternatives

[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[foxy/foxy

Fast, reliable, and secure NPM/Yarn/pnpm bridge for Composer

177287.5k25](/packages/foxy-foxy)[php-forge/foxy

Fast, reliable, and secure Bun/NPM/Yarn/pnpm bridge for Composer

45103.3k4](/packages/php-forge-foxy)

PHPackages © 2026

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