laravel storage get filename

31

use Illuminate\Support\Facades\Storage;

$path = Storage::path('file.jpg');
//$file is full path 
echo basename($file);

Comments

Submit
0 Comments