php artisan storage:link code example
Example 1: laravel storage hard link
php artisan storage:link
Example 2: laravel storage link without command line
Route::get('/foo', function () {
Artisan::call('storage:link');
});
Example 3: laravel filesystem
$exists = Storage::disk('s3')->exists('file.jpg');