أدِر الملفات باستخدام Laravel Storage:
تخزين الملفات
Storage::put('file.txt', 'المحتويات');
Storage::disk('s3')->put('file.txt', 'المحتويات');رفع الملفات
$path = $request->file('avatar')->store('avatars');
$path = $request->file('avatar')->storeAs('avatars', 'user_1.jpg');الحصول على الملفات
$contents = Storage::get('file.txt');
$url = Storage::url('file.txt');حذف الملفات
Storage::delete('file.txt');
Storage::delete(['file1.txt', 'file2.txt']);