Considering these files are local to the server, you probably don't want to be trying to open them via a HTTP request when you have direct access to the files.
asset
returns a URL.
You most likely want to use a 'file path' to pass to file_get_contents
.
Thanks lagbox.
I switched to that earlier and it works as expected, but does my issue point to a larger concern?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community