A simple Composer script to install NPM and/or Bower dependencies
Latest commit 9e0b85e Dec 20, 2013 @yohang Merge commit 'ec7fe'
Failed to load latest commit information.
src/Yohang Merge commit 'ec7fe' Dec 20, 2013
LICENSE Initial commit Oct 25, 2012
README.md Initial commit Oct 25, 2012
composer.json Added timeout option Aug 5, 2013


Install NPM & Bower dependencies with Composer

This simple tools allows you to run npm install and/or bower install each time you run composer install / update.


Add this lines to your composer.json file (only works with root file) :

    "require": {
        "yohang/dependency-tools": "1.0.*"
    "scripts": {
        "post-install-cmd": [
        "post-update-cmd": [
    "extra": {
        "dependency-tools": {
            "npm": true,
            "bower": true

And that's all, your NPM and Bower dependencies will be installed just after your Composer dependencies.