thadico-platform/common-service
最新稳定版本:v1.4.2
Composer 安装命令:
composer require thadico-platform/common-service
包简介
A package to handle storage services like S3 and R2 in Laravel, Audit log
README 文档
README
A Laravel package that provides a unified interface to handle storage services like Amazon S3 and Cloudflare R2, with support for additional storage providers.
Installation
-
Require the package using Composer:
composer require thadico-platform/storage-service
Publish the configuration file using the following Artisan command:
php artisan storage:publish-config
Make sure you have the necessary environment variables in your .env file:
S3 Configuration
AWS_ACCESS_KEY_ID=your-aws-access-key AWS_SECRET_ACCESS_KEY=your-aws-secret-key AWS_DEFAULT_REGION=your-aws-region AWS_ENDPOINT=your-aws-endpoint
R2 Configuration
R2_ACCESS_KEY_ID=your-r2-access-key R2_SECRET_ACCESS_KEY=your-r2-secret-key R2_ENDPOINT=https://your-r2-endpoint.r2.cloudflarestorage.com
#public tag curl --fail-with-body --data tag=v1.2.7 --header "Deploy-Token: xxxxx" "https://git.toprate.io/api/v4/projects/179/packages/composer"
统计信息
- 总下载量: 1.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-05-10