diff options
author | Marc Cornellà <marc.cornella@live.com> | 2018-10-17 20:35:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-17 20:35:16 +0200 |
commit | ea7b886f701316199cf90761a6e9a2a27659b544 (patch) | |
tree | b6594c0e1e13fe2dedde9e177b12175854893fdd /plugins/composer/README.md | |
parent | 1abf04cb01e8c5a987632a5bddaa3e10fb5fe035 (diff) | |
parent | f8ca1464b9d1792b2a6bc227c152197538b5ae9d (diff) | |
download | zsh-ea7b886f701316199cf90761a6e9a2a27659b544.tar.gz zsh-ea7b886f701316199cf90761a6e9a2a27659b544.tar.bz2 zsh-ea7b886f701316199cf90761a6e9a2a27659b544.zip |
composer: add README (#7291)
Diffstat (limited to 'plugins/composer/README.md')
-rw-r--r-- | plugins/composer/README.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/plugins/composer/README.md b/plugins/composer/README.md new file mode 100644 index 000000000..2b4bae579 --- /dev/null +++ b/plugins/composer/README.md @@ -0,0 +1,29 @@ +# composer + +This plugin provides completion for [composer](https://getcomposer.org/), as well as aliases +for frequent composer commands. It also adds Composer's global binaries to the PATH, using +Composer if available. + +To use it add `composer` to the plugins array in your zshrc file. + +```zsh +plugins=(... composer) +``` + +## Aliases + +| Alias | Command | Description | +| ------ | -------------------------------------------- | -------------------------------------------------------------------------------------- | +| `c` | composer | Starts composer | +| `csu` | composer self-update | Updates composer to the latest version | +| `cu` | composer update | Updates composer dependencies and `composer.lock` file | +| `cr` | composer require | Adds new packages to `composer.json` | +| `crm` | composer remove | Removes packages from `composer.json` | +| `ci` | composer install | Resolves and installs dependencies from `composer.json` | +| `ccp` | composer create-project | Create new project from an existing package | +| `cdu` | composer dump-autoload | Updates the autoloader | +| `cdo` | composer dump-autoload --optimize-autoloader | Converts PSR-0/4 autoloading to classmap for a faster autoloader (good for production) | +| `cgu` | composer global update | Allows update command to run on COMPOSER_HOME directory | +| `cgr` | composer global require | Allows require command to run on COMPOSER_HOME directory | +| `cgrm` | composer global remove | Allows remove command to run on COMPOSER_HOME directory | +| `cget` | `curl -s https://getcomposer.org/installer` | Installs composer in the current directory | |