Meet Laravel Rclone 🚀 cover image

Meet Laravel Rclone 🚀

Tim Geisendörfer • September 25, 2025

laravel rclone

Do you ever had the need to sync or move a large number of files between multiple Laravel storage file systems? We built a Laravel package on top of rclone to solve this.

We’re thrilled to introduce Laravel Rclone — a brand-new Laravel package that brings the raw power of rclone into your Laravel projects.

Moving or syncing large amounts of files across storage systems has always been tricky in Laravel. Sure, the filesystem abstraction is powerful, but when it comes to bulk transfers it can be slow, clunky, and resource-intensive.

That’s where Laravel Rclone comes in: a blazing-fast, developer-friendly wrapper around rclone that feels 100% Laravel-native.


Why Laravel Rclone?


Installation

composer require innoge/laravel-rclone

Publish the configuration

php artisan vendor:publish --tag=rclone-config

Usage

Want to sync your local storage with S3? Just do this:

use InnoGE\LaravelRclone\Facades\Rclone;

// Simple sync
Rclone::source('local')
    ->target('s3')
    ->sync();

// With progress & options
Rclone::source('local')
    ->target('s3')
    ->withProgress()
    ->transfers(16)
    ->checkers(8)
    ->getOutputUsing(fn($type, $output) => Log::info("Rclone: {$output}"))
    ->sync();

Or create a backup command for that:

use InnoGE\LaravelRclone\Facades\Rclone;

class BackupCommand extends Command
{
    public function handle(): int
    {
        $this->info('Starting backup...');

        $result = Rclone::source('local')
            ->target('s3', 'backups/' . now()->format('Y-m-d'))
            ->withProgress()
            ->getOutputUsing(fn(string $type, string $output) => $this->line($output))
            ->sync();

        return $result->isSuccessful() ? 0 : 1;
    }
}

Get Started Today

Handling massive file migrations, syncing environments, or moving entire datasets between disks has never been easier. Laravel Rclone takes the hassle out of file operations and makes it feel like it was built into Laravel from day one.

👉 github.com/InnoGE/laravel-rclone

Do you need help with your next project?

Unleash the full potential of your business, and schedule a no-obligation consultation with our team of experts now!