innoboxrr/aws-file-manager 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

innoboxrr/aws-file-manager

最新稳定版本:0.0.5

Composer 安装命令:

composer require innoboxrr/aws-file-manager

包简介

README 文档

README

innoboxrr/aws-file-manager is a Laravel package for managing files in AWS S3.

Installation

You can install the package via Composer:

composer require innoboxrr/aws-file-manager

Configuration

You need to publish the configuration file:

php artisan vendor:publish --provider="Innoboxrr\\AWSFileManager\\AWSFileManagerServiceProvider"

Then, configure your AWS credentials in the .env file:

AWS_ACCESS_KEY_ID=your-access-key-id
AWS_SECRET_ACCESS_KEY=your-secret-access-key
AWS_DEFAULT_REGION=your-default-region
AWS_BUCKET=your-bucket-name

Usage

Upload a File

use Innoboxrr\AWSFileManager\Facades\AWSFileManager;

AWSFileManager::upload($filePath, $destinationPath);

Download a File

use Innoboxrr\AWSFileManager\Facades\AWSFileManager;

$fileContent = AWSFileManager::download($filePath);

Delete a File

use Innoboxrr\AWSFileManager\Facades\AWSFileManager;

AWSFileManager::delete($filePath);

Testing

composer test

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-12