Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

parsing pdf using php

Tags:

php

parsing

pdf

I know this question has been asked several times. And i have checked all but none were giving satisfactory answers.

Some say TCPDF can parse but i searched on its site. nothing is given to read the pdf. thn xpdf- xpdf is a utility which is to be installed on server and than run commands to extract the text.

I even searched FPDF but in that site also nothing is given about reading the pdf or any function related to readin in manual.

So do i have to use pdfbox and java bridge to extract text..? or is some folk can answer that it is possible using tcpdf.

what to prefer now...?

like image 561
Jaimin Avatar asked Sep 15 '26 00:09

Jaimin


1 Answers

I think the status is largely the same as it was: there are no PHP native implementations of a PDF parser. There are command line alternatives and I know that there are implementations in other languages (I personally use the Python library), but no native PHP ones.

like image 155
cwallenpoole Avatar answered Sep 17 '26 06:09

cwallenpoole



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!