Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <framework xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="schemas/frameworkDescriptionVersion1.1.2.xsd" name="composer"
- invoke="$PhpExecutable$ composer.phar" alias="composer" enabled="true" version="2">
- <command>
- <name>about</name>
- <help><![CDATA[<h2>about</h2>
- <p>Usage:<br>
- about
- </p>
- <p>Short information about Composer
- </p>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- <info>php composer.phar about</info></p>
- ]]></help>
- </command>
- <command>
- <name>config</name>
- <params>setting-key[=null] setting-value[=null] </params>
- <help><![CDATA[<h2>config</h2>
- <p>Usage:<br>
- config [-g|--global] [-e|--editor] [--unset] [-l|--list] [-f|--file="..."] [setting-key] [setting-value1] ... [setting-valueN]
- </p>
- <p>Set config options
- </p>
- <table>
- <tr><td><strong>Arguments:</strong></td></tr>
- <params><tr>
- <td>setting-key</td>
- <td>Setting key</td>
- </tr>
- <tr>
- <td>setting-value</td>
- <td>Setting value</td>
- </tr>
- </table>
- <br>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--global (-g)</td>
- <td>Apply command to the global config file</td>
- </tr>
- <tr>
- <td>--editor (-e)</td>
- <td>Open editor</td>
- </tr>
- <tr>
- <td>--unset</td>
- <td>Unset the given setting-key</td>
- </tr>
- <tr>
- <td>--list (-l)</td>
- <td>List configuration settings</td>
- </tr>
- <tr>
- <td>--file (-f)</td>
- <td>If you want to choose a different composer.json or config.json</td>
- </tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- This command allows you to edit some basic composer settings in either the
- local composer.json file or the global config.json file.
- <br> To edit the global config.json file:
- <br> <comment>composer.phar config --global</comment>
- <br> To add a repository:
- <br> <comment>composer.phar config repositories.foo vcs http://bar.com</comment>
- <br> You can add a repository to the global config.json file by passing in the
- <info>--global</info> option.
- <br> To edit the file in an external editor:
- <br> <comment>composer.phar config --edit</comment>
- <br> To choose your editor you can set the "EDITOR" env variable.
- <br> To get a list of configuration values in the file:
- <br> <comment>composer.phar config --list</comment>
- <br> You can always pass more than one option. As an example, if you want to edit the
- global config.json file.
- <br> <comment>composer.phar config --edit --global</comment></p>
- ]]></help>
- </command>
- <command>
- <name>create-project</name>
- <params>package directory[=null] version[=null] </params>
- <help><![CDATA[<h2>create-project</h2>
- <p>Usage:<br>
- create-project [--prefer-source] [--prefer-dist] [--repository-url="..."] [--dev] [--no-custom-installers] [--no-scripts] [--keep-vcs] package [directory] [version]
- </p>
- <p>Create new project from a package into given directory.
- </p>
- <table>
- <tr><td><strong>Arguments:</strong></td></tr>
- <params><tr>
- <td>package</td>
- <td>Package name to be installed</td>
- </tr>
- <tr>
- <td>directory</td>
- <td>Directory where the files should be created</td>
- </tr>
- <tr>
- <td>version</td>
- <td>Version, will defaults to latest</td>
- </tr>
- </table>
- <br>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--prefer-source</td>
- <td>Forces installation from package sources when possible, including VCS information.</td>
- </tr>
- <tr>
- <td>--prefer-dist</td>
- <td>Forces installation from package dist even for dev versions.</td>
- </tr>
- <tr>
- <td>--repository-url</td>
- <td>Pick a different repository url to look for the package.</td>
- </tr>
- <tr>
- <td>--dev</td>
- <td>Whether to install dependencies for development.</td>
- </tr>
- <tr>
- <td>--no-custom-installers</td>
- <td>Whether to disable custom installers.</td>
- </tr>
- <tr>
- <td>--no-scripts</td>
- <td>Whether to prevent execution of all defined scripts in the root package.</td>
- </tr>
- <tr>
- <td>--keep-vcs</td>
- <td>Whether to prevent deletion vcs folder.</td>
- </tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- The <info>create-project</info> command creates a new project from a given
- package into a new directory. You can use this command to bootstrap new
- projects or setup a clean version-controlled installation
- for developers of your project.
- <br> <info>php composer.phar create-project vendor/project target-directory [version]</info>
- <br> To setup a developer workable version you should create the project using the source
- controlled code by appending the <info>'--prefer-source'</info> flag. Also, it is
- advisable to install all dependencies required for development by appending the
- <info>'--dev'</info> flag.
- <br> To install a package from another repository than the default one you
- can pass the <info>'--repository-url=http://myrepository.org'</info> flag.
- </p>
- ]]></help>
- </command>
- <command>
- <name>depends</name>
- <params>package </params>
- <help><![CDATA[<h2>depends</h2>
- <p>Usage:<br>
- depends [--link-type="..."] package
- </p>
- <p>Shows which packages depend on the given package
- </p>
- <table>
- <tr><td><strong>Arguments:</strong></td></tr>
- <params><tr>
- <td>package</td>
- <td>Package to inspect</td>
- </tr>
- </table>
- <br>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--link-type</td>
- <td>Link types to show (require, require-dev)</td>
- </tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- Displays detailed information about where a package is referenced.
- <br> <info>php composer.phar depends composer/composer</info>
- </p>
- ]]></help>
- </command>
- <command>
- <name>dump-autoload</name>
- <help><![CDATA[<h2>dump-autoload</h2>
- <p>Usage:<br>
- dump-autoload [-o|--optimize]
- </p>
- <p>dumps the autoloader
- </p>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--optimize (-o)</td>
- <td>Optimizes PSR0 packages to be loaded with classmaps too, good for production.</td>
- </tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- <info>php composer.phar dump-autoload</info></p>
- ]]></help>
- </command>
- <command>
- <name>dumpautoload</name>
- <help><![CDATA[<h2>dumpautoload</h2>
- <p>Usage:<br>
- dumpautoload [-o|--optimize]
- </p>
- <p>dumps the autoloader
- </p>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--optimize (-o)</td>
- <td>Optimizes PSR0 packages to be loaded with classmaps too, good for production.</td>
- </tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- <info>php composer.phar dump-autoload</info></p>
- ]]></help>
- </command>
- <command>
- <name>help</name>
- <params>command command_name[=null] </params>
- <help><![CDATA[<h2>help</h2>
- <p>Usage:<br>
- help [--xml] [command_name]
- </p>
- <p>Displays help for a command
- </p>
- <table>
- <tr><td><strong>Arguments:</strong></td></tr>
- <params><tr>
- <td>command</td>
- <td>The command to execute</td>
- </tr>
- <tr>
- <td>command_name</td>
- <td>The command name</td>
- </tr>
- </table>
- <br>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--xml</td>
- <td>To output help as XML</td>
- </tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- The <info>help</info> command displays help for a given command:
- <br> <info>php composer.phar help list</info>
- <br> You can also output the help as XML by using the <comment>--xml</comment> option:
- <br> <info>php composer.phar help --xml list</info>
- <br> To display the list of available commands, please use the <info>list</info> command.</p>
- ]]></help>
- </command>
- <command>
- <name>init</name>
- <help><![CDATA[<h2>init</h2>
- <p>Usage:<br>
- init [--name="..."] [--description="..."] [--author="..."] [--homepage="..."] [--require="..."] [--require-dev="..."] [--minimum-stability="..."]
- </p>
- <p>Creates a basic composer.json file in current directory.
- </p>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--name</td>
- <td>Name of the package</td>
- </tr>
- <tr>
- <td>--description</td>
- <td>Description of package</td>
- </tr>
- <tr>
- <td>--author</td>
- <td>Author name of package</td>
- </tr>
- <tr>
- <td>--homepage</td>
- <td>Homepage of package</td>
- </tr>
- <tr>
- <td>--require</td>
- <td>Package to require with a version constraint, e.g. foo/bar:1.0.0 or foo/bar=1.0.0 or "foo/bar 1.0.0"</td>
- </tr>
- <tr>
- <td>--require-dev</td>
- <td>Package to require for development with a version constraint, e.g. foo/bar:1.0.0 or foo/bar=1.0.0 or "foo/bar 1.0.0"</td>
- </tr>
- <tr>
- <td>--minimum-stability</td>
- <td>Minimum stability (empty or one of: stable, RC, beta, alpha, dev)</td>
- </tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- The <info>init</info> command creates a basic composer.json file
- in the current directory.
- <br> <info>php composer.phar init</info>
- </p>
- ]]></help>
- </command>
- <command>
- <name>install</name>
- <help><![CDATA[<h2>install</h2>
- <p>Usage:<br>
- install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-custom-installers] [--no-scripts] [-v|--verbose]
- </p>
- <p>Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.
- </p>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--prefer-source</td>
- <td>Forces installation from package sources when possible, including VCS information.</td>
- </tr>
- <tr>
- <td>--prefer-dist</td>
- <td>Forces installation from package dist even for dev versions.</td>
- </tr>
- <tr>
- <td>--dry-run</td>
- <td>Outputs the operations but will not execute anything (implicitly enables --verbose).</td>
- </tr>
- <tr>
- <td>--dev</td>
- <td>Enables installation of dev-require packages.</td>
- </tr>
- <tr>
- <td>--no-custom-installers</td>
- <td>Disables all custom installers.</td>
- </tr>
- <tr>
- <td>--no-scripts</td>
- <td>Skips the execution of all scripts defined in composer.json file.</td>
- </tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- The <info>install</info> command reads the composer.lock file from
- the current directory, processes it, and downloads and installs all the
- libraries and dependencies outlined in that file. If the file does not
- exist it will look for composer.json and do the same.
- <br> <info>php composer.phar install</info>
- </p>
- ]]></help>
- </command>
- <command>
- <name>list</name>
- <params>namespace[=null] </params>
- <help><![CDATA[<h2>list</h2>
- <p>Usage:<br>
- list [--xml] [--raw] [namespace]
- </p>
- <p>Lists commands
- </p>
- <table>
- <tr><td><strong>Arguments:</strong></td></tr>
- <params><tr>
- <td>namespace</td>
- <td>The namespace name</td>
- </tr>
- </table>
- <br>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--xml</td>
- <td>To output help as XML</td>
- </tr>
- <tr>
- <td>--raw</td>
- <td>To output raw command list</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- The <info>list</info> command lists all commands:
- <br> <info>php composer.phar list</info>
- <br> You can also display the commands for a specific namespace:
- <br> <info>php composer.phar list test</info>
- <br> You can also output the information as XML by using the <comment>--xml</comment> option:
- <br> <info>php composer.phar list --xml</info>
- <br> It's also possible to get raw list of commands (useful for embedding command runner):
- <br> <info>php composer.phar list --raw</info></p>
- ]]></help>
- </command>
- <command>
- <name>require</name>
- <params>packages[=null] </params>
- <help><![CDATA[<h2>require</h2>
- <p>Usage:<br>
- require [--dev] [--prefer-source] [--prefer-dist] [--no-update] [packages1] ... [packagesN]
- </p>
- <p>Adds required packages to your composer.json and installs them
- </p>
- <table>
- <tr><td><strong>Arguments:</strong></td></tr>
- <params><tr>
- <td>packages</td>
- <td>Required package with a version constraint, e.g. foo/bar:1.0.0 or foo/bar=1.0.0 or "foo/bar 1.0.0"</td>
- </tr>
- </table>
- <br>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--dev</td>
- <td>Add requirement to require-dev.</td>
- </tr>
- <tr>
- <td>--prefer-source</td>
- <td>Forces installation from package sources when possible, including VCS information.</td>
- </tr>
- <tr>
- <td>--prefer-dist</td>
- <td>Forces installation from package dist even for dev versions.</td>
- </tr>
- <tr>
- <td>--no-update</td>
- <td>Disables the automatic update of the dependencies.</td>
- </tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- The require command adds required packages to your composer.json and installs them
- <br> If you do not want to install the new dependencies immediately you can call it with --no-update
- </p>
- ]]></help>
- </command>
- <command>
- <name>search</name>
- <params>tokens </params>
- <help><![CDATA[<h2>search</h2>
- <p>Usage:<br>
- search [-N|--only-name] tokens1 ... [tokensN]
- </p>
- <p>Search for packages
- </p>
- <table>
- <tr><td><strong>Arguments:</strong></td></tr>
- <params><tr>
- <td>tokens</td>
- <td>tokens to search for</td>
- </tr>
- </table>
- <br>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--only-name (-N)</td>
- <td>Search only in name</td>
- </tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- The search command searches for packages by its name
- <info>php composer.phar search symfony composer</info>
- </p>
- ]]></help>
- </command>
- <command>
- <name>self-update</name>
- <help><![CDATA[<h2>self-update</h2>
- <p>Usage:<br>
- self-update
- </p>
- <p>Updates composer.phar to the latest version.
- </p>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- The <info>self-update</info> command checks getcomposer.org for newer
- versions of composer and if found, installs the latest.
- <br> <info>php composer.phar self-update</info>
- </p>
- ]]></help>
- </command>
- <command>
- <name>selfupdate</name>
- <help><![CDATA[<h2>selfupdate</h2>
- <p>Usage:<br>
- selfupdate
- </p>
- <p>Updates composer.phar to the latest version.
- </p>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- The <info>self-update</info> command checks getcomposer.org for newer
- versions of composer and if found, installs the latest.
- <br> <info>php composer.phar self-update</info>
- </p>
- ]]></help>
- </command>
- <command>
- <name>show</name>
- <params>package[=null] version[=null] </params>
- <help><![CDATA[<h2>show</h2>
- <p>Usage:<br>
- show [-i|--installed] [-p|--platform] [-s|--self] [--dev] [package] [version]
- </p>
- <p>Show information about packages
- </p>
- <table>
- <tr><td><strong>Arguments:</strong></td></tr>
- <params><tr>
- <td>package</td>
- <td>Package to inspect</td>
- </tr>
- <tr>
- <td>version</td>
- <td>Version to inspect</td>
- </tr>
- </table>
- <br>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--installed (-i)</td>
- <td>List installed packages only</td>
- </tr>
- <tr>
- <td>--platform (-p)</td>
- <td>List platform packages only</td>
- </tr>
- <tr>
- <td>--self (-s)</td>
- <td>Show the root package information</td>
- </tr>
- <tr>
- <td>--dev</td>
- <td>Enables display of dev-require packages.</td>
- </tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- The show command displays detailed information about a package, or
- lists all packages available.
- </p>
- ]]></help>
- </command>
- <command>
- <name>status</name>
- <help><![CDATA[<h2>status</h2>
- <p>Usage:<br>
- status [-v|--verbose]
- </p>
- <p>Show a list of locally modified packages
- </p>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- The status command displays a list of dependencies that have
- been modified locally.
- </p>
- ]]></help>
- </command>
- <command>
- <name>update</name>
- <params>packages[=null] </params>
- <help><![CDATA[<h2>update</h2>
- <p>Usage:<br>
- update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-custom-installers] [--no-scripts] [-v|--verbose] [packages1] ... [packagesN]
- </p>
- <p>Updates your dependencies to the latest version according to composer.json, and updates the composer.lock file.
- </p>
- <table>
- <tr><td><strong>Arguments:</strong></td></tr>
- <params><tr>
- <td>packages</td>
- <td>Packages that should be updated, if not provided all packages are.</td>
- </tr>
- </table>
- <br>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--prefer-source</td>
- <td>Forces installation from package sources when possible, including VCS information.</td>
- </tr>
- <tr>
- <td>--prefer-dist</td>
- <td>Forces installation from package dist even for dev versions.</td>
- </tr>
- <tr>
- <td>--dry-run</td>
- <td>Outputs the operations but will not execute anything (implicitly enables --verbose).</td>
- </tr>
- <tr>
- <td>--dev</td>
- <td>Enables installation of dev-require packages.</td>
- </tr>
- <tr>
- <td>--no-custom-installers</td>
- <td>Disables all custom installers.</td>
- </tr>
- <tr>
- <td>--no-scripts</td>
- <td>Skips the execution of all scripts defined in composer.json file.</td>
- </tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- The <info>update</info> command reads the composer.json file from the
- current directory, processes it, and updates, removes or installs all the
- dependencies.
- <br> <info>php composer.phar update</info>
- <br> To limit the update operation to a few packages, you can list the package(s)
- you want to update as such:
- <br> <info>php composer.phar update vendor/package1 foo/mypackage [...]</info></p>
- ]]></help>
- </command>
- <command>
- <name>validate</name>
- <params>file[=null] </params>
- <help><![CDATA[<h2>validate</h2>
- <p>Usage:<br>
- validate [file]
- </p>
- <p>Validates a composer.json
- </p>
- <table>
- <tr><td><strong>Arguments:</strong></td></tr>
- <params><tr>
- <td>file</td>
- <td>path to composer.json file</td>
- </tr>
- </table>
- <br>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr>
- <td>--help (-h)</td>
- <td>Display this help message.</td>
- </tr>
- <tr>
- <td>--quiet (-q)</td>
- <td>Do not output any message.</td>
- </tr>
- <tr>
- <td>--verbose (-v)</td>
- <td>Increase verbosity of messages.</td>
- </tr>
- <tr>
- <td>--version (-V)</td>
- <td>Display this application version.</td>
- </tr>
- <tr>
- <td>--ansi</td>
- <td>Force ANSI output.</td>
- </tr>
- <tr>
- <td>--no-ansi</td>
- <td>Disable ANSI output.</td>
- </tr>
- <tr>
- <td>--no-interaction (-n)</td>
- <td>Do not ask any interactive question.</td>
- </tr>
- <tr>
- <td>--profile</td>
- <td>Display timing and memory usage information</td>
- </tr>
- <tr>
- <td>--working-dir (-d)</td>
- <td>If specified, use the given directory as working directory.</td>
- </tr>
- </table>
- <br>
- <p>Help:<br/>
- The validate command validates a given composer.json
- </p>
- ]]></help>
- </command>
- <help><![CDATA[<p>Usage:<br>
- [options] command [arguments]
- </p>
- <br>
- <table>
- <tr><td><strong>Options:</strong></td></tr>
- <tr><td>--help (-h)</td><td>Display this help message.</td></tr>
- <tr><td>--quiet (-q)</td><td>Do not output any message.</td></tr>
- <tr><td>--verbose (-v)</td><td>Increase verbosity of messages.</td></tr>
- <tr><td>--version (-V)</td><td>Display this application version.</td></tr>
- <tr><td>--ansi</td><td>Force ANSI output.</td></tr>
- <tr><td>--no-ansi</td><td>Disable ANSI output.</td></tr>
- <tr><td>--no-interaction (-n)</td><td>Do not ask any interactive question.</td></tr>
- <tr><td>--profile</td><td>Display timing and memory usage information</td></tr>
- <tr><td>--working-dir (-d)</td><td>If specified, use the given directory as working directory.</td></tr>
- </table>
- <br>
- <table>
- <tr><td><strong>Available commands:</strong></td></tr>
- <tr>
- <td>about</td>
- <td>Short information about Composer</td>
- </tr>
- <tr>
- <td>config</td>
- <td>Set config options</td>
- </tr>
- <tr>
- <td>create-project</td>
- <td>Create new project from a package into given directory.</td>
- </tr>
- <tr>
- <td>depends</td>
- <td>Shows which packages depend on the given package</td>
- </tr>
- <tr>
- <td>dump-autoload</td>
- <td>dumps the autoloader</td>
- </tr>
- <tr>
- <td>dumpautoload</td>
- <td>dumps the autoloader</td>
- </tr>
- <tr>
- <td>help</td>
- <td>Displays help for a command</td>
- </tr>
- <tr>
- <td>init</td>
- <td>Creates a basic composer.json file in current directory.</td>
- </tr>
- <tr>
- <td>install</td>
- <td>Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.</td>
- </tr>
- <tr>
- <td>list</td>
- <td>Lists commands</td>
- </tr>
- <tr>
- <td>require</td>
- <td>Adds required packages to your composer.json and installs them</td>
- </tr>
- <tr>
- <td>search</td>
- <td>Search for packages</td>
- </tr>
- <tr>
- <td>self-update</td>
- <td>Updates composer.phar to the latest version.</td>
- </tr>
- <tr>
- <td>selfupdate</td>
- <td>Updates composer.phar to the latest version.</td>
- </tr>
- <tr>
- <td>show</td>
- <td>Show information about packages</td>
- </tr>
- <tr>
- <td>status</td>
- <td>Show a list of locally modified packages</td>
- </tr>
- <tr>
- <td>update</td>
- <td>Updates your dependencies to the latest version according to composer.json, and updates the composer.lock file.</td>
- </tr>
- <tr>
- <td>validate</td>
- <td>Validates a composer.json</td>
- </tr>
- </table>
- </p>]]></help>
- </framework>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement