Laravel storage and cache options
<?php
/**
* S3
*/
//GET
$value = \Storage::disk('s3')->get('filename.md');
//STORE
Storage::disk('s3')->put('folder/'.$filename, $file_contents);
// list files in S3 folder
$files = \Storage::disk('s3')->allFiles($directory);
/**
* Local disk
*/
Storage::put('file.jpg', $file_contents);