hi guys,
This may not be the best place to ask this. But since i am using Laravel, i hope someone have done this before and wouldn't mind sharing some guidance.
I am trying to upload PDF files and convert them into html format and in the process store them in the database. Does anyone know of a library i can use for this?
I come across the same requirement to convert pdf to html and store into databse.
Can you please guide me how you achieved this..m
It would save my lots of hours.
Hi Guys,
I finally managed to get it to work. I installed poppler utils on my local instead of my homestead. Rookie mistake. Anyway does anyone know how i can access the #content?
Let us call the object you are outputting in that screenshot $html_output.
You should be able to call $html_output->contents to get the array. If you want the actual HTML you should be able to use the following in this case:
$html_output->contents[1] as the HTML body looks to be located at index 1.