projectsaturnstudios/laravel-x-fer

Transfer files between servers using SFTP or AWS S3

0.0.1 2025-07-08 17:44 UTC

This package is auto-updated.

Last update: 2025-07-10 15:48:02 UTC


README

Transfer files between two remote servers with one-line!

Latest Version on Packagist Total Downloads

Require Laravel X-Fer using Composer:

composer require projectsaturnstudios/laravel-x-fer

Publish the config file:

php artisan vendor:publish --tag=xfer.config

To Use

StreamFile::from($source_file, $source_disk)
    ->to($destination_file, $destination_disk);

stream_from($source_file, $source_disk)
    ->to($destination_file, $destination_disk);