Download the PHP package ahmaadkhader/pdf-to-html without Composer
On this page you can find all versions of the php package ahmaadkhader/pdf-to-html. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ahmaadkhader/pdf-to-html
More information about ahmaadkhader/pdf-to-html
Files in ahmaadkhader/pdf-to-html
Download ahmaadkhader/pdf-to-html
More information about ahmaadkhader/pdf-to-html
Files in ahmaadkhader/pdf-to-html
Vendor ahmaadkhader
Package pdf-to-html
Short Description Standalone PHP library for extracting semantic HTML from PDF files. Detects headings, lists, tables, links, and inline styles from PDF content.
License GPL-2.0-or-later
Package pdf-to-html
Short Description Standalone PHP library for extracting semantic HTML from PDF files. Detects headings, lists, tables, links, and inline styles from PDF content.
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package pdf-to-html
PDF to HTML
Standalone PHP library for extracting semantic HTML from PDF files using smalot/pdfparser.
Features
- Heading detection — identifies heading levels from font size ratios
- List detection — groups bullet and numbered items into
<ul>/<ol>lists - Table detection — identifies tabular content from X-coordinate column clustering
- Link extraction — matches PDF link annotations to text content
- Inline styles — preserves font size and color differences as CSS
Installation
Usage
Architecture
| Class | Responsibility |
|---|---|
PdfToHtml |
Core orchestration — parses PDF, coordinates sub-components |
StyleAnalyzer |
Font size, color, heading level, and inline style detection |
TableDetector |
Table region detection from DataTm positioning data |
LinkExtractor |
PDF link annotation extraction and text matching |
HtmlRenderer |
Renders classified content lines into semantic HTML |
Requirements
- PHP 8.1+
smalot/pdfparser^2.12
License
GPL-2.0-or-later
All versions of pdf-to-html with dependencies
PHP Build Version
Package Version
The package ahmaadkhader/pdf-to-html contains the following files
Loading the files please wait ...