Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/razonyang/composer-mirrors
Packagist/Composer Mirrors
https://github.com/razonyang/composer-mirrors
composer-mirror packagist-mirror
Last synced: 20 days ago
JSON representation
Packagist/Composer Mirrors
- Host: GitHub
- URL: https://github.com/razonyang/composer-mirrors
- Owner: razonyang
- Created: 2019-07-05T12:53:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-20T18:13:24.000Z (over 5 years ago)
- Last Synced: 2024-04-14T00:21:48.875Z (7 months ago)
- Topics: composer-mirror, packagist-mirror
- Homepage:
- Size: 2.93 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](https://packagist.org/) 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](https://github.com/razonyang/composer-mirrors/issues/new) or create a PR for:
- Adding new mirror.
- Removing unavailable mirror.
- ...## Configuration
Configurate mirror:
```shell
$ composer config -g repo.packagist composer [mirror]
```> You should remove `-g` if you don't want to configurate mirror globally.
Remove mirror:
```shell
$ composer config -g --unset repos.packagist
```## Mirrors list
### Africa
#### South Africa
- [packagist.co.za](https://packagist.co.za)
### Asia
#### China
- [阿里云镜像](https://developer.aliyun.com/composer) - https://mirrors.aliyun.com/composer
- [华为云镜像](https://mirrors.huaweicloud.com) - https://mirrors.huaweicloud.com/repository/php
- [pkg.phpcomposer.com](https://pkg.phpcomposer.com) - https://packagist.phpcomposer.com#### Indonesia
- [packagist.phpindonesia.id](https://packagist.phpindonesia.id)
#### Japan
- [packagist.jp](https://packagist.jp)
### South America
#### Brazil
- [packagist.com.br](https://packagist.com.br)