定制 kduma/s3-satis 二次开发

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

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

kduma/s3-satis

最新稳定版本:v0.2.1

Composer 安装命令:

composer create-project kduma/s3-satis

包简介

Extends composer/satis with S3 support

README 文档

README

Tool to generate a Composer PHP packages repository (based on Satis - static Composer repository generator) and synchronize generated repository with a Amazon S3 (or compatible) bucket.

Check full documentation here: opensource.duma.sh/systems/serverless-satis/s3-satis

Setup

You can install s3-satis tool in four ways:

Usage

First prepare a satis.json file with your repository configuration. This tool is based on Satis - static Composer repository generator{:target="_blank"}, so please check Satis documentation{:target="_blank"} for configuration options.

{
  "name": "my/repo",

  "homepage": "https://satis.example.com",

  "repositories": [
    { "type": "vcs", "url": "https://github.com/laravel/framework" }
  ],

  "require-all": true
}

Second, configure your environment variables (or .env file) with your S3 bucket credentials:

S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
S3_REGION=us-east-1
S3_BUCKET=
S3_ENDPOINT=
S3_USE_PATH_STYLE_ENDPOINT=false

Then run s3-satis tool to generate repository and upload it to S3 bucket:

s3-satis build satis.json

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-18