how to set storage path in laravel code example
Example 1: laravel get path to storage folder
$path = storage_path('app/file.txt');
Example 2: laravel storage get file path
use Illuminate\Support\Facades\Storage;
$path = Storage::path('file.jpg');
Example 3: laravel link storage to public
php artisan storage:link
Example 4: laravel filesystem
$exists = Storage::disk('s3')->exists('file.jpg');