lavarel copy files to s3 code example
Example 1: use s3 storage laravel
return Storage::disk('s3')->response('images/' . $image->filename);
Example 2: laravel move file from local to s3
se Illuminate\Http\File;
use Illuminate\Support\Facades\Storage;
// Automatically generate a unique ID for file name...
Storage::putFile('photos', new File('/path/to/photo'));
// Manually specify a file name...
Storage::putFileAs('photos', new File('/path/to/photo'), 'photo.jpg');