Please enable JavaScript.
Coggle requires JavaScript to display documents.
File Storage - Coggle Diagram
File Storage
uploading file
store
(recommended)
directory as the first argument
returns
the file name (randomized)
storeAs
directory as the first argument
file name as the second argument
retreiving file from request
$request->file('filename.extension')
it has the
file
method
downloading file
Storage::download(filename)
$response->download(file, newfileName, headers)
disks
contains
driver
local
on the laravel's server itself
cloud
somewhere over the rainbow
e.g s3
storage location
public
link
app/storage
with
app/public/storage
private
configure a new disk!