PHP Classes

Recommendation for a PHP class to extract table from pdf: I want to extract table from pdf to insert to database website

Recommend this page to a friend!
  All requests RSS feed  >  Recommendation for a PHP class to ext...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Recommendation for a PHP class to extract table from pdf

Edit

Picture of Doni by Doni - 1 year ago (2023-10-28)

I want to extract table from pdf to insert to database website

This request is clear and relevant.
This request is not clear or is not relevant.

+2

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
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Manuel Lemos by Manuel Lemos Reputation 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. Picture of Doni 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


Recommend package
: 
: