Answers for "laravel storage disk put"

PHP
1

laravel storage

use Illuminate\Support\Facades\Storage;

Storage::disk('local')->put('example.txt', 'Contents');
Posted by: Guest on July-14-2021
0

laravel storage save file folder on disk

Storage::disk('public')->putFile('folder-destination', $request->file('file-to-save'));
Posted by: Guest on September-19-2021
0

laravel filesystem

$exists = Storage::disk('s3')->exists('file.jpg');
Posted by: Guest on October-06-2020

Browse Popular Code Answers by Language