fryiee/addon_composer-extension
Composer 安装命令:
composer require fryiee/addon_composer-extension
包简介
An extension for the addons module to add composer commands that can be run on all addons.
README 文档
README
A PyroCMS 3 extension for the Addons Module which provides composer commands across all non-core addons
(Note: This means it will currently only run on addons in the addons/ folder, not those installed via Composer.)
Installation
composer require fryiee/addon_composer-extension
If you are installing this on an existing project, then you will also want to run:
php artisan addon:install fryiee.extension.addon_composer
Usage
php artisan addon:composer <command> --args=<arg1> --flags=<flag1> --excludes=<namespace.type.slug>
You can add multiple args, flags or excludes by comma separating them, e.g. --args=no-dev,prefer-dist
The extension will confirm the parsed command and any exclusions before running, e.g.
Run composer install --no-dev on each addon (excluding rt.module.profiles)? (yes/no) [no]:
Examples
Run composer install no-dev on all addons
php artisan addon:composer install --flags=no-dev
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-08-28