Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create laravel custom storage:link?

How to create laravel custom storage:link?

I would like to point project/public/storage >> project/storage/app/tenancy/tenants

like image 532
soe-moe Avatar asked Dec 22 '25 03:12

soe-moe


1 Answers

In config/filesystems.php :

'links' => [
    public_path() . '_html\storage' => storage_path('app/public'),
],

after following this tutorial to change /public to /public_html

https://developerhowto.com/2018/11/12/how-to-change-the-laravel-public-folder/


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!