Answers for "storage:: disak specify filename laravel"

PHP
4

laravel storage get file path

use Illuminate\Support\Facades\Storage;

$path = Storage::path('file.jpg');
Posted by: Guest on October-17-2020
0

laravel storage get filename

//$file is full path 
echo basename($file);
Posted by: Guest on March-28-2022

Browse Popular Code Answers by Language