use Illuminate\Support\Facades\Storage;
// 上传文件
$path = Storage::putFile('uploads', $request->file('file'));
// 上传字符串内容
$path = Storage::put('file.txt', 'Hello World');
// 检查文件是否存在
$exists = Storage::exists('file.txt');
// 获取文件内容
$content = Storage::get('file.txt');
// 删除文件
Storage::delete('file.txt');