TCPDF-NextDie moderne PHP PDF-Bibliothek.
Neu entwickelt für eine neue Ära. PDF 2.0 · PAdES B-LTA · PDF/A-4 · PHP 8.5+ · Laravel 12
Neu entwickelt für eine neue Ära. PDF 2.0 · PAdES B-LTA · PDF/A-4 · PHP 8.5+ · Laravel 12
ISO 32000-2:2020 von Tag eins. Cross-reference streams, nur AES-256, XMP metadata. Kein legacy-Code.
Vollständiger digitaler Signatur-Lebenszyklus — B-B (Core) bis B-LTA (Pro) mit LTV, OCSP, CRL und RFC 3161 Timestamps.
ISO 19005-4:2020 Konformität — XMP metadata, ICC output intents, Schrifteinbettung, Farbraum-Validierung.
AESV3 Revision 6 mit SASLprep Passwort-Normalisierung (RFC 4013). Kein legacy RC4 oder 40-Bit-Schlüssel.
Auto-erkannter ServiceProvider, Pdf Facade, queue-basierte async Generierung, Octane-safe, HTTP response helpers.
220+ Quelldateien in 7 packages. Core + Artisan + Pro + Laravel + Symfony + CodeIgniter + Adaptation.
Sie sind sich nicht sicher, welche Pakete Sie benötigen? Unser interaktiver Wizard analysiert Ihre Umgebung und empfiehlt die ideale Kombination.
TCPDF-Next ist keine einzelne Bibliothek – es ist ein modulares Ökosystem aus 7 Paketen, die nahtlos zusammenarbeiten.
| Paket | Composer | Beschreibung |
|---|---|---|
| Core | yeeefang/tcpdf-next | PDF 2.0 Generierung, Typografie, Barcodes, Verschlüsselung, PAdES B-B |
| Artisan | yeeefang/tcpdf-next-artisan | Chrome CDP HTML-to-PDF — pixelgenaue HTML/CSS3-Konvertierung |
| Pro | yeeefang/tcpdf-next-pro | PAdES B-T~B-LTA, PDF/A-4, HSM-Signierung, spezielle Barcodes |
| Paket | Composer | Beschreibung |
|---|---|---|
| Laravel | yeeefang/tcpdf-next-laravel | Laravel 12 — Facade, Queue, Octane-safe |
| Symfony | yeeefang/tcpdf-next-symfony | Symfony 7 — Bundle, PdfFactory, Messenger |
| CodeIgniter | yeeefang/tcpdf-next-codeigniter | CodeIgniter 4 — Services, Library, Queue |
| Paket | Composer | Beschreibung |
|---|---|---|
| Adaptation | yeeefang/tcpdf-next-adaptation | TCPDF 6.2.13-kompatibler Adapter — Drop-in-Migration |
5 Zeilen Code zur Generierung eines PDF:
use Yeeefang\TcpdfNext\Core\Document;
$pdf = Document::createStandalone()
->setTitle('My First PDF')
->addPage()
->setFont('Helvetica', '', 14)
->cell(0, 10, 'Hello, PDF 2.0!')
->save('hello.pdf');Mit Laravel:
use Yeeefang\TcpdfNext\Laravel\Facades\Pdf;
use Yeeefang\TcpdfNext\Laravel\Http\PdfResponse;
$pdf = Pdf::createStandalone()
->setTitle("Invoice #{$invoice->number}")
->addPage()
->setFont('Helvetica', '', 12)
->cell(0, 10, "Invoice #{$invoice->number}");
return PdfResponse::inline($pdf, "invoice-{$invoice->number}.pdf");| Feature | Original TCPDF | TCPDF-Next | |
|---|---|---|---|
| PHP version | 5.x – 8.x | 8.5+ only | |
| PDF spec | 1.4 – 1.7 | 2.0 (ISO 32000-2:2020) | |
| Architecture | Single ~30K-line class | 220+ files, 15 modules, 12 composable traits | |
| Type safety | None | PHPStan Level 10, backed enums, readonly classes | |
| Signatures | Basic PKCS#7 | PAdES B-B (Core) → B-LTA (Pro) | |
| Archival | PDF/A-1b (partial) | PDF/A-4 (ISO 19005-4:2020) | |
| HTML rendering | Built-in (limited CSS) | Built-in + Chrome CDP (full CSS3) | |
| Testing | ~50 tests | 1,004 tests, 29,586 assertions | |
| Extensibility | Subclass monolith | Modular ecosystem (7 packages) + extension API | |
| Framework | None | Laravel 12, Symfony 7, CodeIgniter 4 |
| Standard | Coverage | Paket |
|---|---|---|
| ISO 32000-2:2020 | PDF 2.0 — full | Core |
| ISO 19005-4:2020 | PDF/A-4, 4e, 4f | Pro |
| ETSI EN 319 142-1 | PAdES B-B | Core |
| ETSI EN 319 142-1 | PAdES B-T ~ B-LTA | Pro |
| RFC 3161 | TSP (client in Core, doc-timestamp in Pro) | Core + Pro |
| RFC 5652 | CMS (PKCS#7) | Core |
| RFC 6960 | OCSP | Pro |
| RFC 5280 | X.509 / CRL | Pro |
| RFC 4013 | SASLprep | Core |
| ISO 18004 | QR Code (v1-40, ECI, Kanji) | Core |
| ISO 16022 | DataMatrix (+ DMRE) | Core |
| ISO 15438 | PDF417 | Core |
| ISO 18004 Annex | Micro QR (M1-M4) | Pro |
| ISO 24723 | DotCode | Pro |
| ISO 20830 | HanXin | Pro |
| ISO 23634 | JAB Code (polychromatic) | Pro |