A pz module for PHP Composer - Dependency Management for PHP.
Via composer:
$ composer require --dev project-zer0/pz-composerThis module provides following config block to .pz.yaml file
project-zer0:
composer:
image: composer # Docker image name to use for composer commandThis module provides these commands in pz tool
$ pz composer ______
/ ____/___ ____ ___ ____ ____ ________ _____
/ / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
/_/
Composer version 2.0.8 2020-12-03 17:20:38
Usage:
command [options] [arguments]
Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
--profile Display timing and memory usage information
--no-plugins Whether to disable plugins.
-d, --working-dir=WORKING-DIR If specified, use the given directory as working directory.
--no-cache Prevent use of the cache
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available commands:
about Shows the short information about Composer.
...
Run test cases
$ composer testRun test cases with coverage (HTML format)
$ composer test-coverageRun PHP style checker
$ composer cs-checkRun PHP style fixer
$ composer cs-fixRun all continuous integration tests
$ composer ci-runPlease see CONTRIBUTING and CONDUCT for details.
Please see License File for more information.