php artisan link storage command code example
Example 1: php artisan storage link
php artisan storage:link
Example 2: laravel storage link without command line
Route::get('/foo', function () {
Artisan::call('storage:link');
});
php artisan storage:link
Route::get('/foo', function () {
Artisan::call('storage:link');
});