Composer Registry Manager 安装例子 介绍
@H_502_1@
CRM - Composer Registry Manager
Composer Registry Manager 可以帮助你轻松的在不同的源之间进行切换@H_502_1@
安装
通过composer安装@H_502_1@
$ composer global require slince/composer-registry-manager
例子
$ crm ls composer https://packagist.org PHPcomposer https://packagist.PHPcomposer.com * composer-proxy https://packagist.composer-proxy.org
如果你想基于当前项目列出所有源,加上选项 --current/-c@H_502_1@
$ crm ls -c * composer https://packagist.org PHPcomposer https://packagist.PHPcomposer.com composer-proxy https://packagist.composer-proxy.org
$ crm use PHPcomposer
同样的,添加选项 --current/-c 为当前项目修改@H_502_1@
使用下面命令查看帮助.@H_502_1@
$ crm -l _____ _____ ___ ___ / ___| | _ \ / |/ | | | | |_| | / /| /| | | | | _ / / / |__/ | | | |___ | | \ \ / / | | \_____| |_| \_\ /_/ |_| Composer Registry Manager 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 -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug Available commands: add Add one custom registry help displays help for a command list Lists commands ls List all available registries remove Delete one custom registry reset Reset registry configurations use Change current registry
The MIT license. See MIT@H_502_1@