Skip to content
A simple way to copy files between different Laravel Storage disks
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
composer.json

README.md

Remote

A simple way to copy files between different Laravel Storage disks

Requirements

  • PHP 5.6+
  • Laravel 5.0+

Installing

Use Composer to install it:

composer require filippo-toso/remote

Using It

use FilippoToso\Remote\Remote;

// Copy from S3 to local
Remote::copy('s3://folder/file.dat', 'local:://another/folder/output.dot');

// Move from local to S3
Remote::move('local://folder/file.dat', 's3:://another/folder/output.dot');
You can’t perform that action at this time.