• Stars
    star
    533
  • Rank 83,238 (Top 2 %)
  • Language
    PHP
  • License
    MIT License
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🛠️ 🔨 Composer registry manager that help to easily switch to the composer repository you want.

CRM - Composer Registry Manager

Build Status Coverage Status Total Downloads Latest Stable Version Scrutinizer

Composer Registry Manager can help you easily and quickly switch between different composer repositories.

简体中文

Installation

Install via composer

$ 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

$ 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.

$ composer repo:use aliyun

Add the option --current/-c for the current project.

Reset command

If you want to discard all custom mirrors, you can use the following command:

$ composer repo:reset

Available commands

Use the following command for help.

$ 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

More Repositories

1

spike

📣 A fast reverse proxy written in PHP that helps to expose local services to the internet
PHP
660
star
2

shopify-api-php

🚀 Shopify API Client for PHP
PHP
127
star
3

smartqq

🐧 SmartQQ (原 WebQQ ) API 的 PHP 语言实现,提供了一系列更优雅可读性更高的API
PHP
82
star
4

youzan-pay

基于有赞云和有赞微小店实现个人收款解决方案。
PHP
69
star
5

China

🇨🇳 一个轻巧的中国的地区、民族以及节假日信息的查询PHP库
PHP
55
star
6

shipment-tracking

✨ A flexible shipment tracking library for multi carriers like DHL eCommerce, USPS, YanWen Express, Epacket, E包裹, E特快, 国际EMS, 快递100,递四方 etc.
PHP
26
star
7

process

🐋 The process wrapper and manager based on PCNTL on the Unix-like systems using php
PHP
22
star
8

di

🐑 A flexible dependency injection container; It is an implementation of PSR-11
PHP
20
star
9

social-share.js

🎉 一个可以帮助快速创建社交网站分享按钮的轻巧的 JavaScript 组件
JavaScript
18
star
10

spike-go

📣 A fast reverse proxy written in golang that helps to expose local services to the internet
Go
17
star
11

sql-to-markdown

Convert mysql table schema to markdown table.
PHP
16
star
12

middleware

🐳 A PSR15 middleware dispatcher
PHP
15
star
13

expression-language.js

🌴 An engine that can compile and evaluate expressions written in typescript
TypeScript
10
star
14

event-dispatcher

🔥 A flexible event dispatching library for PHP
PHP
9
star
15

tree-samples

PHP遍历二叉树的实现,深度优先,广度优先,非递归实现;
PHP
9
star
16

cakephp-permission

🍰 The role-based permissions management for CakePHP 3 🥞
PHP
9
star
17

spider

爬虫组件
PHP
8
star
18

config

🎍 A flexible configuration file loader that supports multiple file formats
PHP
8
star
19

composer-alias

🎸 Composer Alias Plugin
PHP
7
star
20

framework

The Slince PHP framework
PHP
7
star
21

mechanic

基于PHP的自动化测试框架
PHP
6
star
22

routing

🐬 A flexible web routing component.
PHP
5
star
23

shipment-tracking-foundation

✨ A flexible and shipment tracking library for multi carriers
PHP
5
star
24

upload

Process file uploads with multiple and extensible validation rules.
PHP
4
star
25

cakephp-pjax

🥞 Pjax plugin for CakePHP
PHP
4
star
26

hello-vm

一个超级mini的栈式虚拟机
Java
2
star
27

cycle-bundle

Symfony Bundle for Cycle ORM and DBAL
PHP
2
star
28

switchery.js

Annother IOS 7 style switches for your checkboxes
JavaScript
2
star
29

fastserver

PHP
1
star
30

expression

一个富有语言表现力的表达式引擎 Java 实现
Java
1
star
31

golang-lesson

Go 语言练习
Go
1
star
32

dragbox

基于 Socket 的私有网盘系统
PHP
1
star