Answers for "laravel file storage listing"

PHP
3

laravel get file contents from storage

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

laravel storage

use Illuminate\Support\Facades\Storage;

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

Browse Popular Code Answers by Language