2017 © Pedro Peláez
 

project crm

Composer registry manager

image

slince/crm

Composer registry manager

  • Tuesday, May 2, 2017
  • by slince
  • Repository
  • 1 Watchers
  • 30 Stars
  • 48 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 4 Versions
  • 50 % Grown

The README.md

CRM - Composer Registry Manager

Build Status Coverage Status Total Downloads Latest Stable Version Scrutinizer, (*1)

Composer Registry Manager can help you easily and quickly switch between different composer repositories., (*2)

简体中文, (*3)

Installation

Install via composer, (*4)

$ composer global require slince/composer-registry-manager ^2.0

Example

List all available repositories

$ composer repo:ls

 --- ------------- ------------------------------------------------ ------------------------------
      composer      https://packagist.org                            Europe, Canada and Singapore
      aliyun        https://mirrors.aliyun.com/composer              China
      tencent       https://mirrors.cloud.tencent.com/composer       China
  *   huawei        https://mirrors.huaweicloud.com/repository/php   China
      cnpkg         https://php.cnpkg.org                            China
      sjtug         https://packagist.mirrors.sjtug.sjtu.edu.cn      China
      phpcomposer   https://packagist.phpcomposer.com                China
      kkame         https://packagist.kr                             South Korea
      hiraku        https://packagist.jp                             Japan
      webysther     https://packagist.com.br                         Brazil
      solidworx     https://packagist.co.za                          South Africa
      indra         https://packagist.phpindonesia.id                Indonesia
      varun         https://packagist.in                             India
 --- ------------- ------------------------------------------------ ------------------------------

You can filter by location using --location xx, (*5)

$ composer repo:ls --location China

Switch repository

$ composer repo:use

Please select your favorite repository (defaults to composer) [composer]:
  [0 ] composer
  [1 ] aliyun
  [2 ] tencent
  [3 ] huawei
  [4 ] cnpkg
  [5 ] sjtug
  [6 ] phpcomposer
  [7 ] kkame
  [8 ] hiraku
  [9 ] webysther
  [10] solidworx
  [11] indra
  [12] varun
>

You can also skip selection by giving repository name., (*6)

$ composer repo:use aliyun

Add the option --current/-c for the current project., (*7)

Reset command

If you want to discard all custom mirrors, you can use the following command:, (*8)

$ composer repo:reset

Available commands

Use the following command for help., (*9)

$ composer repo
 _____   _____        ___  ___
/  ___| |  _  \      /   |/   |
| |     | |_| |     / /|   /| |
| |     |  _  /    / / |__/ | |
| |___  | | \ \   / /       | |
\_____| |_|  \_\ /_/        |_|

Composer Repository Manager version 2.0.0

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 for the "repo" namespace:
  repo:add     Creates a repository
  repo:ls      List all available repositories
  repo:remove  Remove a repository
  repo:use     Change current repository

LICENSE

The MIT license. See MIT, (*10)

The Versions

02/05 2017

dev-master

9999999-dev

Composer registry manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by tao

composer composer registries composer registries manager switch composer registries registries

18/03 2017

1.1.0

1.1.0.0

Composer registry manager

  Sources   Download

MIT

The Requires

 

The Development Requires

by tao

14/03 2017

1.0.1

1.0.1.0

Composer registry manager

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by tao

14/03 2017

1.0.0

1.0.0.0

Composer registry manager

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by tao