configuration

Create a symbolic link from public/storage to storage/app/public.

php artisan php artisan storage:link

Syntax

Syntax
php artisan storage:link

Explanation

Creates a symlink so files stored in storage/app/public are accessible via the web. Required for serving user-uploaded files. The public directory is the web root.

Example

Example
php artisan storage:link

Explanation

Creates a symlink so files stored in storage/app/public are accessible via the web. Required for serving user-uploaded files. The public directory is the web root.