Handling of your PHP packages using composer.
- base_path: Base path for all further paths/files. Defaults to ".", which normally means build/.
- composer_bin: composer binary to be used, defaults to "composer".
- vendor_path: Path to vendor/, necessary for calling command line tools installed by composer. Defaults to "vendor", which normally means build/vendor/.
- install: Runs
composer installto fetch all required dependencies. - update: Calls
composer installto update the dependencies. - run: Can be used to run command line tools installed inside vendor/.
- composer: Will call
composer, similar to usingcomposer:run composer …
config.yml:
modules:
composer: # Using default configurationTaskfile:
task:install() {
composer:install
}
task:update() {
composer:update
}
task:composer() {
composer:composer "$@"
}