Answers for "laravel 8 full path to storage file"

PHP
0

laravel storage get file path

use Illuminate\Support\Facades\Storage;

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

laravel store file

$path = $request->file('avatar')->store(
    'avatars', 'public'
);
Posted by: Guest on December-05-2020

Code answers related to "laravel 8 full path to storage file"

Browse Popular Code Answers by Language