Recommendation for a PHP class to extract table from pdf #extract table from pdf
Edit
by Doni - 1 year ago (2023-10-28)
I want to extract table from pdf to insert to database website
| I'm working on building a Laravel website project.
The website handles buying and selling services.
The customer sends a purchase letter in PDF form.
I want to enter the PDF data automatically directly into the database. |
Ask clarification
1 Recommendation
PHP PDF to Text: Extract text contents from PDF files
This package can extract the text contents from a PDF file using pure PHP code (no external tools are needed).
It provides the following features:
- Text is extracted from PDF files as a single text property. Individual page contents are also available separately
- Text strings can be searched over the whole file contents, or through individual pages
- Support for multiple character sets: parsed text is returned in UTF8
- Embedded images can be extracted if desired
- Several option flags are available to adjust PDF contents processing
- RTL language processing
- Basic page layout rendering
- PDF Form data extraction
- Ability to extract areas of text as well as line and column contents, using an XML-based capture definitions
| by Manuel Lemos 26695 - 1 year ago (2023-11-17) Comment
Hello Doni,
This generic PDF document parser PHP class can help you to extract tables from PDF documents.
Can you try this package and reply here to tell if you could parse and extract the table from the PDF document you want to process? |
- 1 Comment
1.
by Doni - 1 year ago (2023-11-17) Reply
thanks Manuel Lemos
I have implemented that PHP class, but the results are dirty.
I've used the ilovepdf gettext api, the results are clean