Skip to content

Latest commit

 

History

History
63 lines (38 loc) · 1.48 KB

README.md

File metadata and controls

63 lines (38 loc) · 1.48 KB

Composer Mirrors

I believe that there are a lot of PHP developers like me, who located in some special locations, have complained about why Packagist is so slow.

Because Packagist can not host in every country and given bandwidth/latency constraint in certain areas of the world, so that is why this repository exists. It aims to collect available composer/packagist mirrors all around the world.

Contribution

Please feel free to file an issue or create a PR for:

  • Adding new mirror.
  • Removing unavailable mirror.
  • ...

Configuration

Configurate mirror:

$ composer config -g repo.packagist composer [mirror]

You should remove -g if you don't want to configurate mirror globally.

Remove mirror:

$ composer config -g --unset repos.packagist

Mirrors list

Africa

South Africa

Asia

China

Indonesia

Japan

South America

Brazil