Support the ongoing development of →
Security Cache Blade
Last updated 1 year ago.

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.

Last updated 6 years ago.

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!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.