Merge branch '1.8'
commit
522ea033a3
|
@ -56,6 +56,7 @@ package in the specified version and writes it to the specified directory.
|
||||||
|
|
||||||
<info>php composer.phar archive [--format=zip] [--dir=/foo] [package [version]]</info>
|
<info>php composer.phar archive [--format=zip] [--dir=/foo] [package [version]]</info>
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#archive
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -32,6 +32,8 @@ class ClearCacheCommand extends BaseCommand
|
||||||
<<<EOT
|
<<<EOT
|
||||||
The <info>clear-cache</info> deletes all cached packages from composer's
|
The <info>clear-cache</info> deletes all cached packages from composer's
|
||||||
cache directory.
|
cache directory.
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#clear-cache-clearcache-
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -125,6 +125,8 @@ You can always pass more than one option. As an example, if you want to edit the
|
||||||
global config.json file.
|
global config.json file.
|
||||||
|
|
||||||
<comment>%command.full_name% --editor --global</comment>
|
<comment>%command.full_name% --editor --global</comment>
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#config
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -104,6 +104,7 @@ controlled code by appending the <info>'--prefer-source'</info> flag.
|
||||||
To install a package from another repository than the default one you
|
To install a package from another repository than the default one you
|
||||||
can pass the <info>'--repository=https://myrepository.org'</info> flag.
|
can pass the <info>'--repository=https://myrepository.org'</info> flag.
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#create-project
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -37,6 +37,7 @@ Displays detailed information about where a package is referenced.
|
||||||
|
|
||||||
<info>php composer.phar depends composer/composer</info>
|
<info>php composer.phar depends composer/composer</info>
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#depends-why-
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -55,6 +55,7 @@ The <info>diagnose</info> command checks common errors to help debugging problem
|
||||||
|
|
||||||
The process exit code will be 1 in case of warnings and 2 for errors.
|
The process exit code will be 1 in case of warnings and 2 for errors.
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#diagnose
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -39,6 +39,8 @@ class DumpAutoloadCommand extends BaseCommand
|
||||||
->setHelp(
|
->setHelp(
|
||||||
<<<EOT
|
<<<EOT
|
||||||
<info>php composer.phar dump-autoload</info>
|
<info>php composer.phar dump-autoload</info>
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#dump-autoload-dumpautoload-
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -36,6 +36,13 @@ class ExecCommand extends BaseCommand
|
||||||
'Arguments to pass to the binary. Use <info>--</info> to separate from composer arguments'
|
'Arguments to pass to the binary. Use <info>--</info> to separate from composer arguments'
|
||||||
),
|
),
|
||||||
))
|
))
|
||||||
|
->setHelp(
|
||||||
|
<<<EOT
|
||||||
|
Executes a vendored binary/script.
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#exec
|
||||||
|
EOT
|
||||||
|
)
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -50,6 +50,7 @@ XDG_CONFIG_HOME or default to /home/<user>/.config/composer
|
||||||
Note: This path may vary depending on customizations to bin-dir in
|
Note: This path may vary depending on customizations to bin-dir in
|
||||||
composer.json or the environmental variable COMPOSER_BIN_DIR.
|
composer.json or the environmental variable COMPOSER_BIN_DIR.
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#global
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -49,6 +49,8 @@ homepage in your default browser.
|
||||||
|
|
||||||
To open the homepage by default, use -H or --homepage.
|
To open the homepage by default, use -H or --homepage.
|
||||||
To show instead of open the repository or homepage URL, use -s or --show.
|
To show instead of open the repository or homepage URL, use -s or --show.
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#browse-home
|
||||||
EOT
|
EOT
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,6 +72,7 @@ in the current directory.
|
||||||
|
|
||||||
<info>php composer.phar init</info>
|
<info>php composer.phar init</info>
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#init
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -61,6 +61,7 @@ exist it will look for composer.json and do the same.
|
||||||
|
|
||||||
<info>php composer.phar install</info>
|
<info>php composer.phar install</info>
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#install-i
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -41,6 +41,7 @@ class LicensesCommand extends BaseCommand
|
||||||
The license command displays detailed information about the licenses of
|
The license command displays detailed information about the licenses of
|
||||||
the installed dependencies.
|
the installed dependencies.
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#licenses
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -50,7 +50,7 @@ The color coding (or signage if you have ANSI colors disabled) for dependency ve
|
||||||
may involve work.
|
may involve work.
|
||||||
- <highlight>red</highlight> (!): Dependency has a new version that is semver-compatible and you should upgrade it.
|
- <highlight>red</highlight> (!): Dependency has a new version that is semver-compatible and you should upgrade it.
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#outdated
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -37,6 +37,7 @@ Displays detailed information about why a package cannot be installed.
|
||||||
|
|
||||||
<info>php composer.phar prohibits composer/composer</info>
|
<info>php composer.phar prohibits composer/composer</info>
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#prohibits-why-not-
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -56,6 +56,7 @@ list of installed packages
|
||||||
|
|
||||||
<info>php composer.phar remove</info>
|
<info>php composer.phar remove</info>
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#remove
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -73,6 +73,7 @@ If you do not specify a version constraint, composer will choose a suitable one
|
||||||
|
|
||||||
If you do not want to install the new dependencies immediately you can call it with --no-update
|
If you do not want to install the new dependencies immediately you can call it with --no-update
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#require
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -63,6 +63,8 @@ class RunScriptCommand extends BaseCommand
|
||||||
The <info>run-script</info> command runs scripts defined in composer.json:
|
The <info>run-script</info> command runs scripts defined in composer.json:
|
||||||
|
|
||||||
<info>php composer.phar run-script post-update-cmd</info>
|
<info>php composer.phar run-script post-update-cmd</info>
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#run-script
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -48,6 +48,8 @@ class ScriptAliasCommand extends BaseCommand
|
||||||
The <info>run-script</info> command runs scripts defined in composer.json:
|
The <info>run-script</info> command runs scripts defined in composer.json:
|
||||||
|
|
||||||
<info>php composer.phar run-script post-update-cmd</info>
|
<info>php composer.phar run-script post-update-cmd</info>
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#run-script
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -49,6 +49,7 @@ class SearchCommand extends BaseCommand
|
||||||
The search command searches for packages by its name
|
The search command searches for packages by its name
|
||||||
<info>php composer.phar search symfony composer</info>
|
<info>php composer.phar search symfony composer</info>
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#search
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -60,6 +60,7 @@ versions of composer and if found, installs the latest.
|
||||||
|
|
||||||
<info>php composer.phar self-update</info>
|
<info>php composer.phar self-update</info>
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#self-update-selfupdate-
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -85,6 +85,7 @@ class ShowCommand extends BaseCommand
|
||||||
The show command displays detailed information about a package, or
|
The show command displays detailed information about a package, or
|
||||||
lists all packages available.
|
lists all packages available.
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#show
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -52,6 +52,7 @@ class StatusCommand extends BaseCommand
|
||||||
The status command displays a list of dependencies that have
|
The status command displays a list of dependencies that have
|
||||||
been modified locally.
|
been modified locally.
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#status
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -38,6 +38,7 @@ The <info>%command.name%</info> command shows a sorted list of suggested package
|
||||||
|
|
||||||
Enabling <info>-v</info> implies <info>--by-package --by-suggestion</info>, showing both lists.
|
Enabling <info>-v</info> implies <info>--by-package --by-suggestion</info>, showing both lists.
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#suggests
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -81,6 +81,7 @@ from a specific vendor:
|
||||||
|
|
||||||
To select packages names interactively with auto-completion use <info>-i</info>.
|
To select packages names interactively with auto-completion use <info>-i</info>.
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#update-u
|
||||||
EOT
|
EOT
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
|
|
@ -55,6 +55,7 @@ Exit codes in case of errors are:
|
||||||
2 validation error(s)
|
2 validation error(s)
|
||||||
3 file unreadable or missing
|
3 file unreadable or missing
|
||||||
|
|
||||||
|
Read more at https://getcomposer.org/doc/03-cli.md#validate
|
||||||
EOT
|
EOT
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue