Create Symbolic link between storage and public folder in Laravel

ln -s /home/vagrant/Code/Project/project-app/storage/app/public /home/vagrant/Code/Project/project-app/public/storage

ln -s D:/xampp/htdocs/personaliteti.com/storage/app/public D:/xampp/htdocs/personaliteti.com/public/storage

ln -s /home/lagjjail/personalitetet/storage/app/public /home/lagjjail/public_html/public/storage

or try

php artisan storage:link

Echo it like this:

echo asset('storage/file.png');
CategoriesUncategorized

Leave a Reply

Your email address will not be published.