tomzx/composer-proxy 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tomzx/composer-proxy

Composer 安装命令:

composer require tomzx/composer-proxy

包简介

Composer proxy to cache external packages sources

README 文档

README

Build Status Total Downloads Latest Stable Version Latest Unstable Version License

Composer Proxy is a lightweight service that uses satis to provide you with the means to cache remote packages.

Composer Proxy is expected to be used with Composer Proxy Client, which is a small composer plugin which will inform the proxy of the packages to cache.

Requirements

  • You will need a server which can be reached by any machine on which you wish to use Composer Proxy Client.
  • PHP 5.4 <=

Getting started

  1. Configure your server to point to the public folder.
  2. Rename config.php.dist to config.php and edit it to your liking.
    1. The important values you will want to change are homepage (the proxy address that will serve the packages), repositories (see satis' definition of repositories) and require-depenedencies (again, see satis' definition).
  3. In the projects you want to use the proxy, follow the steps listed in the README of Composer Proxy Client.

On your first request to the server you should see the configuration file get created, as well as public/package.json, public/include and public/dist.

TODO

Support satis cron job to fetch current packages specifications

Note

This is a work in progress. Composer Proxy and Composer Proxy Client are not ready to be used in production.

License

The code is licensed under the MIT license. See license.txt.

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 12
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-12-20