fxpio / composer-asset-plugin

NPM/Bower Dependency Manager for Composer
MIT License
893 stars 156 forks source link

Add support of the global configuration #273

Closed francoispluchino closed 7 years ago

francoispluchino commented 7 years ago

The new location of the configuration has been moved to the config section of the local composer.json file. It would be interesting to be able to configure the plugin globally, thus avoiding to configure the plugin for each project.

Example:

In local composer.json or ~/.composer/config.json or ~/.composer/composer.json:

{
    "config": {
        "fxp-asset": {
            "pattern-skip-version": "(-patch)"
        }
    }
}
francoispluchino commented 7 years ago

Added by 7ab02bce254bae51c02a6868b125c38d8df24768.