44[ ![ Stable Version] ( https://poser.pugx.org/jbzoo/composer-graph/version )] ( https://packagist.org/packages/jbzoo/composer-graph/ ) [ ![ Total Downloads] ( https://poser.pugx.org/jbzoo/composer-graph/downloads )] ( https://packagist.org/packages/jbzoo/composer-graph/stats ) [ ![ Dependents] ( https://poser.pugx.org/jbzoo/composer-graph/dependents )] ( https://packagist.org/packages/jbzoo/composer-graph/dependents?order_by=downloads ) [ ![ GitHub License] ( https://img.shields.io/github/license/jbzoo/composer-graph )] ( https://github.com/JBZoo/Composer-Graph/blob/master/LICENSE )
55
66
7+ <!-- ts-->
8+ * [ Installation] ( #installation )
9+ * [ Usage] ( #usage )
10+ * [ Examples] ( #examples )
11+ * [ Default output (no args) - minimal view] ( #default-output-no-args---minimal-view )
12+ * [ Default output with PHP extensions (modules)] ( #default-output-with-php-extensions-modules )
13+ * [ Default output with versions of packages and relations] ( #default-output-with-versions-of-packages-and-relations )
14+ * [ Show suggested packages which are not installed] ( #show-suggested-packages-which-are-not-installed )
15+ * [ Show dev dependencies] ( #show-dev-dependencies )
16+ * [ Full Report] ( #full-report )
17+ * [ Unit tests and check code style] ( #unit-tests-and-check-code-style )
18+ * [ License] ( #license )
19+ * [ See Also] ( #see-also )
20+ <!-- te-->
21+
722## Installation
823
924``` shell
@@ -24,31 +39,37 @@ Usage:
2439 build [options]
2540
2641Options:
27- -r, --root=ROOT The path has to contain "composer.json" and "composer.lock" files [default: "./"]
28- -o, --output=OUTPUT Path to html output. [default: "./build/composer-graph.html"]
29- -f, --format=FORMAT Output format. Available options: html,mermaid [default: "html"]
30- -D, --direction=DIRECTION Direction of graph. Available options: LR,TB,BT,RL [default: "LR"]
31- -p, --show-php Show PHP-node
32- -e, --show-ext Show all ext-* nodes (PHP modules)
33- -d, --show-dev Show all dev dependencies
34- -s, --show-suggests Show not installed suggests packages
35- -l, --show-link-versions Show version requirements in links
36- -P, --show-package-versions Show version of packages
37- -O, --abc-order Strict ABC ordering nodes in graph. It's fine tuning, sometimes it useful.
38- --no-progress Disable progress bar animation for logs
39- --mute-errors Mute any sort of errors. So exit code will be always "0" (if it's possible).
40- It has major priority then --non-zero-on-error. It's on your own risk!
41- --stdout-only For any errors messages application will use StdOut instead of StdErr. It's on your own risk!
42- --non-zero-on-error None-zero exit code on any StdErr message
43- --timestamp Show timestamp at the beginning of each message
44- --profile Display timing and memory usage information
45- --cron Shortcut for crontab. It's basically focused on logs output. It's combination of --timestamp --profile --stdout-only --no-progress -vv
46- -h, --help Display help for the given command. When no command is given display help for the build command
47- -q, --quiet Do not output any message
48- -V, --version Display this application version
49- --ansi|--no-ansi Force (or disable --no-ansi) ANSI output
50- -n, --no-interaction Do not ask any interactive question
51- -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
42+ -r, --root=ROOT The path has to contain "composer.json" and "composer.lock" files [default: "./"]
43+ -o, --output=OUTPUT Path to html output. [default: "./build/composer-graph.html"]
44+ -f, --format=FORMAT Output format. Available options: html,mermaid [default: "html"]
45+ -D, --direction=DIRECTION Direction of graph. Available options: LR,TB,BT,RL [default: "LR"]
46+ -p, --show-php Show PHP-node
47+ -e, --show-ext Show all ext-* nodes (PHP modules)
48+ -d, --show-dev Show all dev dependencies
49+ -s, --show-suggests Show not installed suggests packages
50+ -l, --show-link-versions Show version requirements in links
51+ -P, --show-package-versions Show version of packages
52+ -O, --abc-order Strict ABC ordering nodes in graph. It's fine tuning, sometimes it useful.
53+ --no-progress Disable progress bar animation for logs. It will be used only for text output format.
54+ --mute-errors Mute any sort of errors. So exit code will be always "0" (if it's possible).
55+ It has major priority then --non-zero-on-error. It's on your own risk!
56+ --stdout-only For any errors messages application will use StdOut instead of StdErr. It's on your own risk!
57+ --non-zero-on-error None-zero exit code on any StdErr message.
58+ --timestamp Show timestamp at the beginning of each message.It will be used only for text output format.
59+ --profile Display timing and memory usage information.
60+ --output-mode=OUTPUT-MODE Output format. Available options:
61+ text - Default text output format, userfriendly and easy to read.
62+ cron - Shortcut for crontab. It's basically focused on human-readable logs output.
63+ It's combination of --timestamp --profile --stdout-only --no-progress -vv.
64+ logstash - Logstash output format, for integration with ELK stack.
65+ [default: "text"]
66+ --cron Alias for --output-mode=cron. Deprecated!
67+ -h, --help Display help for the given command. When no command is given display help for the build command
68+ -q, --quiet Do not output any message
69+ -V, --version Display this application version
70+ --ansi|--no-ansi Force (or disable --no-ansi) ANSI output
71+ -n, --no-interaction Do not ask any interactive question
72+ -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
5273
5374```
5475
@@ -127,7 +148,7 @@ make test-all
127148```
128149
129150
130- ### License
151+ ## License
131152MIT
132153
133154
0 commit comments