jonasarts / tcpdf-bundle
A TCPDF Bundle for Symfony
Package info
github.com/jonasarts/tcpdf-bundle
Type:symfony-bundle
pkg:composer/jonasarts/tcpdf-bundle
Requires
- php: >=8.4
- ext-ctype: *
- ext-mbstring: *
- symfony/config: ^7.0 || ^8.0
- symfony/dependency-injection: ^7.0 || ^8.0
- symfony/http-kernel: ^7.0 || ^8.0
- symfony/yaml: ^7.0 || ^8.0
- tecnickcom/tcpdf: ^6.10
Requires (Dev)
- ergebnis/composer-normalize: ^2.52
- friendsofphp/php-cs-fixer: ^3.95
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^12.0 || ^13.0
- rector/rector: ^2.0
- symfony/framework-bundle: ^7.0 || ^8.0
- symfony/test-pack: ^1.0
This package is auto-updated.
Last update: 2026-07-30 22:09:22 UTC
README
Simplified access to the TCPDF PHP class for the Symfony framework, with helpers for the Swiss QR-bill.
Maintenance mode — the successor is jonasarts/tcpdf2-bundle.
This bundle builds on
tecnickcom/tcpdf, which upstream now describes as "Deprecated legacy PDF engine for PHP. Use instead tecnickcom/tc-lib-pdf." Active development has moved totecnickcom/tc-lib-pdf.
tcpdf2-bundle8.1.0 runs on that modern engine and keeps the same Swiss QR-bill and address-box helpers. It is not a drop-in replacement: the legacy drawing API (Cell(),MultiCell(),SetFont(),SetXY(),Output(), …) is gone, because the new engine has no cursor and positions everything absolutely. See its changelog for the full list of replacements.The PHP namespace is unchanged (
jonasarts\Bundle\TCPDFBundle\), so the two packages conflict and cannot be installed side by side — switch the requirement, do not add it.This bundle stays on
tecnickcom/tcpdf6.x and receives fixes only.
Requires PHP 8.4 and Symfony ^7.0 || ^8.0.
Installation
All installation instructions are in the documentation.
Documentation
License
This bundle is released under the MIT license. See LICENSE.
The underlying TCPDF library (tecnickcom/tcpdf, tcpdf.org) is licensed under the GNU LGPL v3 and is pulled in as a Composer dependency.