Krótka metoda sklepu w Laravel

// First Method
use Illuminate\Support\Facades\Storage;
 
Storage::disk('local')->put('example.txt', 'Contents');

// Second Method

$request->file('image')->storePublicly('images/media', ['disk' => 'public']); 
Thoughtful Trout