Git Product home page Git Product logo

packagist-mirror's Introduction

English | 简体中文

Alibaba Cloud Packagist Mirror

Go codecov Go Report Card

Alibaba Cloud Packagist Mirror is an open source system that Alibaba Cloud helps PHP developers speed up the installation of Composer dependent packages. Welcome to use Alibaba Cloud Packagist Mirror.

Quick Start

To run the system, create a packagist.yml file in the root directory of the project, and configure the following options:

For security, please do not add the packagist.yml file to version control.

REDIS_ADDR: "address:port"
REDIS_PASSWORD: "password"
REDIS_DB: 0

OSS_ACCESS_KEY_ID: "OSS AccessKeyID"
OSS_ACCESS_KEY_SECRET: "OSS AccessKeySecret"
OSS_ENDPOINT: "OSS endpoint, such as oss-cn-hangzhou.aliyuncs.com"
OSS_BUCKET: "Bucket"

# Unlimited to request dist
GITHUB_TOKEN: "GitHub token, such as: 6a023b828b17*****0ab5tgj6ddb3f0ccb3d30e0"

REPO_URL: "Synchronization source address, such as https://mirrors.aliyun.com/composer/"
API_URL: "Change monitoring API address, such as: https://packagist.org/"
MIRROR_URL: "Mirror website, such as https://developer.aliyun.com/composer/"
DIST_URL: "Download address of zip package, such as https://mirrors.aliyun.com/composer/dists/"
PROVIDER_URL: "Provider prefix"

BUILD_CACHE: "true"

API_ITERATION_INTERVAL: 5
USER_AGENT: "Alibaba Cloud"

Architecture

Contribution

Welcome to participate in the development and make PHP community more prosperous together. Please read contribution guide before submitting pull request.

Issue

Submit Issue, problems that do not meet the guidelines may be closed immediately.

Release notes

Detailed changes to each version are documented in release notes.

References

License

Apache-2.0

Copyright (c) 2009-present, Alibaba Cloud All rights reserved.

packagist-mirror's People

Contributors

aliguyong avatar jacksontian avatar night556 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.