Laravel - File Storage - Specifying A Disk

By default, this uploaded file's store method will use your default disk. If you would like to specify another disk, pass the disk name as the second argument to the store method:

    
    $path = $request->file('avatar')->store(
        'avatars/'.$request->user()->id, 's3'
    );
	

If you are using the storeAs method, you may pass the disk name as the third argument to the method:

    
    $path = $request->file('avatar')->storeAs(
        'avatars',
        $request->user()->id,
        's3'
    );