定制 esemve/composerve 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

esemve/composerve

Composer 安装命令:

composer create-project esemve/composerve

包简介

Serve your git repositories as composer packages

README 文档

README

What is this?

CompoServe is a git repository 2 composer package generator. With its help you can serve the content of the git repository available in the file system as a package.

Settings

Dependency:

With the CLI php exec it should be able to start the git command. Besides that it is important that the user from which you start the generating has reading rights to the folder that contains your git repository.

Installation

  1. Clone the project or install from composer
composer require esemve/composerve --prefer-dist
  1. Make available the content of the public folder online
  2. Transfer all request to index.php (this way it can serve the packages.json request as well)

Settings

Rename config/repositories.example.php to repositories.php, and add the packages and their git folders to it.

Usage

With the help of composerve.php in the root you can access the console. Run the command below after you modified your package (or added a new package):

  php composerve.php build

It goes through all of the added repositories, interprets the tags that are in the git, retrieves the data from the composer.json, and generates zipball to the versions.

Where you want to use the packages served by CompoServe, add it to the composer.json:

"repositories": [
    {
        "type": "composer",
        "url": "http:\/\/composerve.yourdomain.com"
    }
],

... where the http://composerve.yourdomain.com is the url through which the content of the /public folder is available.

From that point the

composer update

command has access to all of the packages, it can download any of the versions, just like you have been using the original packagist.org.

What should be in the git?

The system can work with the git repository formats that are accepted by packagist.com. You can find the description here: https://packagist.org/about

If you want to help me fork it and send me a pull request! :)

License: MIT

esemve/composerve 适用场景与选型建议

esemve/composerve 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 19 次下载、GitHub Stars 达 0, 最近一次更新时间为 2016 年 09 月 01 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 esemve/composerve 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 esemve/composerve 我们能提供哪些服务?
定制开发 / 二次开发

基于 esemve/composerve 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-09-01