Answers for "laravel get a file"

PHP
1

laravel get file name

$path = $request->image->getClientOriginalName();
Posted by: Guest on May-09-2021
1

laravel get file contents from storage

$contents = Storage::disk('local')->get('file.txt');
Posted by: Guest on January-07-2021

Browse Popular Code Answers by Language