Level 88
You can change that in your config file config/filesystems.php
See: https://github.com/laravel/laravel/blob/master/config/filesystems.php#L46
Hi,
By default, when we upload file with laravel 5.3, it uploads in storage/app directory. How can I change the default directory for upload file to public directory?
Thank's
What do you have in filled in your config under the key filesystems.default?
Additionally you can pass an argument to select the disk you want to use
$request->file('user_avatar')->store('avatars', 'my-disk');
Please or to participate in this conversation.