Download-a-file-in-laravel-Use-U-A-ARL-to-External-Ressource

<?php

Route::get('/', function () {
    return response()->streamDownload(function () {
        echo file_get_contents('https://my.remote.com/file/store-12345.jpg');
    }, 'nice-name.jpg');
});
ssbrar