Laravel - File Storage - Retrieving Files

The get method may be used to retrieve the contents of a file. The raw string contents of the file will be returned by the method. Remember, all file paths should be specified relative to the disk's "root" location:

    
    $contents = Storage::get('file.jpg');
	

The exists method may be used to determine if a file exists on the disk:

    
    if (Storage::disk('s3')->exists('file.jpg')) {
        // ...
    }
	

The missing method may be used to determine if a file is missing from the disk:

    
    if (Storage::disk('s3')->missing('file.jpg')) {
        // ...
    }