$contents = Storage::disk('local')->get('file.txt');
use IlluminateSupportFacadesStorage;
$path = Storage::path('file.jpg');
// First Method
use IlluminateSupportFacadesStorage;
Storage::disk('local')->put('example.txt', 'Contents');
// Second Method
$request->file('image')->storePublicly('images/media', ['disk' => 'public']);
//$file is full path
echo basename($file);