Answers for "laravel what is storage path used"

PHP
0

laravel get path to storage folder

$path = storage_path('app/file.txt');
Posted by: Guest on October-17-2020
1

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