Coder Social home page Coder Social logo

packagist-mirror's Introduction

Packagist Mirror

Build Status Minimum PHP Version Packagist Codecov Quality Score Software License

This is PHP package repository packagist.org 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 packagist.org 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.

Install

Via Composer

$ composer require webysther/packagist-mirror

Schedule the command to create and update the mirror:

$ php bin/mirror create --no-progress

Via Docker

Follow to docker repository.

Requirements

The following versions of PHP are supported by this version.

  • PHP >=7.1

Testing

$ vendor/bin/phpunit

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Credits

License

MIT License. Please see License File for more information.

packagist-mirror's People

Contributors

webysther avatar hirak avatar mousavian avatar wudi avatar scrutinizer-auto-fixer avatar

Stargazers

 avatar  avatar Magic avatar xu42 avatar 小小小下 avatar  avatar  avatar 安正超 avatar ZHANG Wei avatar Panda avatar Ben avatar tegic avatar Bruce Lam avatar Cong Peijun avatar 有明 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.