Download the PHP package xerxes/s3-move without Composer
On this page you can find all versions of the php package xerxes/s3-move. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xerxes/s3-move
More information about xerxes/s3-move
Files in xerxes/s3-move
Package s3-move
Short Description A Laravel package to migrate files from local storage to Amazon S3 with smart duplicate detection
License MIT
Homepage https://github.com/xerxes-on/s3-move-laravel
Informations about the package s3-move
S3 Move for Laravel
A Laravel package to migrate files from local storage to Amazon S3 or S3-compatible storage with smart duplicate detection.
Features
- Laravel 10, 11, and 12 compatible
- PHP 8.1+ support
- Migrate files from local storage to S3
- Smart duplicate detection - automatically skips files that already exist on S3
- Configurable file extensions filter
- Progress bar for migration tracking
- Detailed migration statistics (migrated, skipped, total)
- Event-driven architecture (fires event on completion)
- Optional local file deletion after migration
- Works with S3-compatible storage (DigitalOcean Spaces, MinIO, etc.)
Installation
Install the package via Composer:
Publish Configuration
This will create config/s3move.php.
Configuration
Edit config/s3move.php:
Ensure your .env has S3 credentials:
Usage
Basic Migration (Skips Duplicates)
By default, the command will skip files that already exist on S3:
You'll be prompted to confirm before the migration starts.
Force Migration (No Confirmation)
Overwrite Existing Files
If you want to replace files that already exist on S3:
Delete Local Files After Migration
Warning: Use --delete with caution. Files will be permanently deleted from local storage.
Combined Options
Migration Output
The command provides detailed statistics:
Events
The package fires a S3MigrationCompleted event after migration finishes. You can listen to this event to perform custom actions:
Requirements
- PHP 8.1 or higher
- Laravel 10.0, 11.0, or 12.0
- AWS S3 or S3-compatible storage
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
The MIT License (MIT). Please see License File for more information.
All versions of s3-move with dependencies
illuminate/container Version ^10.0|^11.0|^12.0
illuminate/contracts Version ^10.0|^11.0|^12.0
illuminate/filesystem Version ^10.0|^11.0|^12.0
illuminate/support Version ^10.0|^11.0|^12.0
league/flysystem-aws-s3-v3 Version ^3.0