定制 thesebas/artifact-install 二次开发

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

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

thesebas/artifact-install

最新稳定版本:v1.1.0

Composer 安装命令:

composer require thesebas/artifact-install

包简介

install packages from artifacts

README 文档

README

Plugin that allows to install prebuilt artifacts instead of sourcecode of a package.

Instalation

Install this plugin inside the host app you want to use artifacts in.

composer require thesebas/artifact-install

In the package that offers artifacts add extra.artifacts key:

{
  "extra": {
    "artifacts": {
      "url": "https://example.com/{name}/{version}.zip",
      "type": "zip"
    }
  }
}

Alternatively if the artifact is stored as a github release attachment in a private repo plugin can fetch asset via github api, add the following:

{
  "extra": {
    "artifacts": {
      "source": "github-release-asset",
      "file": "attachment_file_name.zip",
      "repo": "%org%/%repo%",
      "tag": "{pretty-version}",
      "type": "zip"
    }
  }
}

Then the composer install command will fetch composer.json from the package for metadata and then will download configured artifact.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-04-17