Laravel otrzymuj zawartość pliku z pamięci
$contents = Storage::disk('local')->get('file.txt');
Bloody Badger
$contents = Storage::disk('local')->get('file.txt');
use Illuminate\Support\Facades\Storage;
$path = Storage::path('file.jpg');
//$file is full path
echo basename($file);