onethirtyone/laravel-s3-migrate 问题修复 & 功能扩展

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

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

onethirtyone/laravel-s3-migrate

最新稳定版本:v2.2

Composer 安装命令:

composer require onethirtyone/laravel-s3-migrate

包简介

A Laravel package to migrate from local storage to Amazon S3

关键字:

README 文档

README

Build Status StyleCI

Migrate files in local storage to an AWS S3 Bucket

Installation

Install with composer

composer require onethirtyone/laravel-s3-migrate

Publish the config

php artisan vendor:publish --tag=s3migrate-config

Usage

in config/s3migrate.php set your configuration options

Run the artisan command

php artisan onethirtyone:s3-migrate {--force : Migrates without confirmation prompt}

This will migrate all files in your selected local disks to S3.

When the migration is complete a OneThirtyOne\S3Migration\Events\S3MigrationCompleted event will be fired. The event will receive a collection of Illuminate\Support\File files. These are the files that have been migrated.

You should listen for this event to perform actions locally such as updating a database table with the new S3 image path or delete the local storage files.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 2
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-07-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固