\Storage::disk('local')->put laravel code example
Example 1: laravel storage get file path
use Illuminate\Support\Facades\Storage;
$path = Storage::path('file.jpg');
Example 2: laravel link storage to public
php artisan storage:link
use Illuminate\Support\Facades\Storage;
$path = Storage::path('file.jpg');
php artisan storage:link