It needs to be in storage/app/public to be accessible to the outside world, and you need to have created a symlink using the php artisan command.
Alternatively create the symlink yourself to the right folder.
As the title says I have a problem with opening my uploaded file in my Laravel based program. In the specific view I managed to upload the .pdf file I've chosen in the HTML form and Laravel stores it properly in the /storage directory, right there where it belongs.
Than I did try to add a link in my blade view file to the uploaded PDF its file name I stored in an eloquent record with
'$data->file_name = $request->file('clients_papers')->hashName();'
, the name matches to the given hash name.
How can i create a link in my blade view to open my pdf file. (It is stored in storage/app/created_directory.)
Please or to participate in this conversation.