Method |
Description |
|
copy ( string $path, string $target ) : boolean |
Copy a file in storage. |
|
delete ( string $path ) : boolean |
Delete a file from storage. |
|
download ( string $path, string $target ) : boolean |
Download a file from storage. |
|
exists ( string $path ) : boolean |
Check if a file exists in storage. |
|
files ( string $path ) : array |
List all files in storage. |
|
get ( string $path ) : string |
Get a file's contents from storage. |
|
isDirectory ( string $path ) : boolean |
Check if a path is a directory in storage. |
|
lastModified ( string $path ) : string |
Get a file's last modification date from storage. |
|
mime ( string $path ) : string |
Get a file's mime type from storage. |
|
move ( string $path, string $target ) : boolean |
Move a file in storage. |
|
put ( string $path, string $contents ) : boolean |
Put a file into storage. |
|
remoteDownload ( string $url, string $target ) : boolean |
Download a remote file locally. |
|
remoteUpload ( string $url, string $target ) : boolean |
Upload a remote file into storage. |
|
render ( string $path ) : Response |
Render a file from storage to the browser. |
|
size ( string $path ) : string |
Get a file's size from storage. |
|
type ( string $path ) : string |
Get a file's type from storage. |
|
upload ( string $path, string $target ) : boolean |
Upload a file into storage. |
|
url ( string $path ) : string |
Get the full URL to a file in storage. |
|