Skip to content
Create a mirror of packagist
Branch: master
Clone or download
Pull request Compare This branch is 199 commits ahead of hirak:master.
Webysther Merge pull request #33 from Webysther/dependabot/composer/twig/twig-2…

[Security] Bump twig/twig from 2.4.8 to 2.7.0
Latest commit 91eb4cc Mar 12, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
public Keep public files inside of resource to make possible to copy after d… Jun 10, 2018
.gitattributes Added Nov 13, 2017
.travis.yml Added structure of Sep 15, 2017
LICENSE Badge Feb 16, 2019

Packagist Mirror

Build Status Minimum PHP Version Packagist Codecov Quality Score Software License Mentioned in Awesome composer

This is PHP package repository mirror site.

If you're using PHP Composer, commands like create-project, require, update, remove are often used. When those commands are executed, Composer will download information from the packages that are needed also from dependent packages. The number of json files downloaded depends on the complexity of the packages which are going to be used. The further you are from the location of the server, the more time is needed to download json files. By using mirror, it will help save the time for downloading because the server location is closer.

This project aims to create a local mirror with ease, allowing greater availability for companies that want to use the composer but do not want to depend on the infrastructure of third parties. It is also possible to create a public mirror to reduce the load on the main repository and allow a better distribution of requests around the world.


Via Composer

$ git clone
$ cd packagist-mirror && composer install

Schedule the command to create and update the mirror:

$ php bin/mirror create --no-progress

Via Docker

Follow to docker repository.


The following versions of PHP are supported by this version.

  • PHP >=7.1


$ vendor/bin/phpunit


Please see CONTRIBUTING and CONDUCT for details.



MIT License. Please see License File for more information.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.