Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

turkalicious's avatar

PDF from remote url to JSON

Hello all

I am trying to accomplish the following.

Go to a certain url which always displays an embedded document with type="application/pdf" attribute. I want to take that pdf from that url and convert it to Json on my laravel installation. I want to then return the json result as a reply to the request origin.

Is that possible ? Are there any other / better ways to do this ?

Thank you

0 likes
0 replies

Please or to participate in this conversation.