Download the PHP package sykez/laravel-storage-copy without Composer
On this page you can find all versions of the php package sykez/laravel-storage-copy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-storage-copy
Storage Copy for Laravel
Laravel Artisan command for copying files between Laravel Filesystem/Storage disks.
Install
Usage
Arguments
Options
Examples
-
Copy
public
disk tos3
. By default, existing files will be skipped if modified time is same. -
Copy
s3
disk tocustom
.delete
option would delete any files on the destination disk (custom
), which aren't in the source disk (s3
).overwrite
option would overwrite the files if exists on the destination disk instead of skipping. -
Copy from S3 bucket to another S3 buket
Since there is only one S3 disk in Laravel by default, in order to copy one bucket to another, another disk needs to be added intoconfig/filesystems.php
:After adding the new disk's details (
ANOTHER_AWS
) into.env
,s3
disk can now be copied toanother-s3
disk: - Log and debugging
log
option would log all actions taken on the files into Laravel's log, whiledebug
option would output these actions into the console instead.
All versions of laravel-storage-copy with dependencies
league/flysystem Version ~1.0 || ^3.0
league/flysystem-aws-s3-v3 Version ~1.0 || ^3.0
illuminate/console Version 5.5 - 9
illuminate/filesystem Version 5.5 - 9
illuminate/log Version 5.5 - 9
illuminate/support Version 5.5 - 9