php artisan storage link laravel 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');
});
php artisan storage:link
Route::get('/foo', function () {
Artisan::call('storage:link');
});