Tulis untuk mengajukan Laravel
use Illuminate\Support\Facades\Storage;
Storage::put('file.txt', 'Your name');
Vast Vicuña
use Illuminate\Support\Facades\Storage;
Storage::put('file.txt', 'Your name');
$path = $request->file('avatar')->store(
'avatars', 'public'
);