Skip to content

PDF 2.0 / PHP 8.4

Build PDF 2.0 documents in PHP

Render HTML and CSS inside your PHP process, then sign, tag, or archive the same document.

Document pipeline

One process from template to final PDF

HTML and CSS enter the same in-process engine that signs, tags, and archives the output.

HTML + CSSINPUT / TEMPLATEPROCESS / IN-PROCESSNEXTPDF ENGINESIGNEDPAdES B-B → B-LTATAGGEDTAGGED PDF/UAARCHIVALPDF/A-4170 U232 UINPUT / TEMPLATEHTML + CSSPROCESS / IN-PROCESSNEXTPDF ENGINEOUTPUT PATHSSIGNEDPAdES B-B → B-LTATAGGEDTAGGED PDF/UAARCHIVALPDF/A-4
HTML and CSS enter NextPDF. The diagram shows PAdES signature, tagged PDF/UA, and PDF/A-4 output paths.

Standards targets

Structure, accessibility, and digital signatures

Each published standard has a defined engine scope and a validator path.

  • PDF 2.0

    Native object model

    NextPDF builds the file structure and cross-reference model around PDF 2.0.

  • PDF/UA-2

    Tagged structure

    Logical structure, document language, reading order, and figure alternative text target PDF/UA-2.

  • PAdES

    Digital signatures

    NextPDF Core and Pro produce PAdES B-B and B-T signatures. NextPDF Enterprise adds B-LT and B-LTA workflows.

NextPDF Core

The Apache-2.0 engine

NextPDF Core is open source under the Apache License 2.0.

PDF 2.0 generation

Create text, images, tables, vector graphics, forms, and document metadata.

HTML and CSS rendering

Render flexbox, gradients, custom properties, and embedded fonts inside PHP.

PAdES B-B

Apply a baseline PAdES B-B digital signature with CMS SignedData.

Tagged PDF

Emit logical structure, document language, and figure alternatives targeting PDF/UA-2.

NextPDF Connect

Expose deterministic PDF operations to agents over MCP, REST, and gRPC.

Strict analysis

Run the configured PHPStan Level 10 CI command over the strict-types codebase.

Editions

Add capability on the same engine

Core, Pro, and Enterprise share the in-process runtime and document pipeline.

Apache-2.0

NextPDF Core

PDF 2.0 generation, HTML and CSS rendering, tagged structure, and PAdES B-B/B-T digital signatures.

Install NextPDF Core →

One organization

NextPDF Pro

Adds templates, charts, redaction, DocMDP controls, and remote or AWS KMS signing on the same engine.

Explore NextPDF Pro →

Regulated workflows

NextPDF Enterprise

Adds PAdES B-LT/B-LTA, HSM signing, PDF/A-4 output, e-invoicing, forensics, and agreement-specific support.

Explore NextPDF Enterprise →

TCPDF migration

Keep the call sites. Change the import

The compatibility adapter preserves the surveyed TCPDF class and method surface. Most migrations start with a one-line import change.

TCPDF

use TCPDF;

$pdf = new TCPDF();
$pdf->AddPage();
$pdf->writeHTML($html);
$pdf->Output('out.pdf', 'F');

NextPDF compatibility adapter

use NextPDF\Compat\Tcpdf\TCPDF;

$pdf = new TCPDF();
$pdf->AddPage();
$pdf->writeHTML($html);
$pdf->Output('out.pdf', 'F');

Engine output

Download the documents

Each sample below includes the output file and its pinned SHA-256 digest.

Analytics Report sample PDF cover
report.pdfSHA-256e3c0d38bde94f8819b7de8706a3a12ef20dfb2d657cacbbee9228ef8c504da76Download PDF
Barcode & Label Sheet sample PDF cover
labels.pdfSHA-2565fd79832b584e7aecab5400e986331d88c4bebc7670d62c86df67574bd575ec1Download PDF

Verification

Evidence for each evaluation path

Audit the source, inspect the organization certificate, and validate the published output.

02 / Organization

Certified ISMS

PATEON’s information security management system is independently certified to ISO/IEC 27001:2022.

Review the company evidence →

14-day evaluation

Use every Enterprise feature for 14 days

The free trial starts at US$0 and produces watermarked evaluation output. Activate a licence to remove the watermark from new output.