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
其他信息
- 授权协议: Unknown
- 更新时间: 2023-04-17