Download the PHP package onethirtyone/laravel-s3-migrate without Composer
On this page you can find all versions of the php package onethirtyone/laravel-s3-migrate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download onethirtyone/laravel-s3-migrate
More information about onethirtyone/laravel-s3-migrate
Files in onethirtyone/laravel-s3-migrate
Package laravel-s3-migrate
Short Description A Laravel package to migrate from local storage to Amazon S3
License MIT
Informations about the package laravel-s3-migrate
Laravel S3 File Migration
Migrate files in local storage to an AWS S3 Bucket
Installation
Install with composer
Publish the config
Usage
in config/s3migrate.php
set your configuration options
Run the artisan command
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
All versions of laravel-s3-migrate with dependencies
illuminate/container Version ^7.0|^8.0
illuminate/contracts Version ^7.0|^8.0
league/flysystem-aws-s3-v3 Version ^1.0