Modified from [[https://www.yiiframework.com/wiki/843/boost-composer-asset-plugin-update-speed]]

You first need to update the asset-plugin
<code>
composer global require fxp/composer-asset-plugin:^1.2.0
</code>

In your project's ''composer.json'' add the following settings to the ''config'' section
<code>
    "config": {
        "fxp-asset": {
            "installer-paths": {
                "npm-asset-library": "vendor/npm",
                "bower-asset-library": "vendor/bower"
            }
        },
        "vcs-driver-options": {
            "github-no-api": true
        },
        "pattern-skip-version": "(-build|-patch)"
    },
</code>

Then run
<code>
composer update -vv
</code>

First run will be slow but subsequent updates will be fast..

Back to [[yii|Yii Main Index]]