Skip to content

TCPDF Compat · Integration

TCPDF compatibility

Use nextpdf/compat-legacy when your application still calls TCPDF-style methods and you need a gradual migration path to native NextPDF APIs.

PageUse it for
OverviewPackage boundaries and migration strategy.
InstallComposer installation and bootstrap path.
QuickstartYour first adapted TCPDF-style call.
ConfigurationLegacy defaults and adaptation options.
APIAdapter, bootstrap, output bridge, parameter adapters, and exceptions.
Method coverageSupported, partial, and unsupported legacy methods.
MigrationStaged migration and risk controls.
Developer guideAdapter layers, concerns, bridges, and extension points.
Production usageRun the adapter in existing applications.
Security and operationsLegacy input risk, output handling, and unsupported features.
TroubleshootingCommon migration failures and diagnostics.
SymbolRole
NextPDF\Compat\Tcpdf\TCPDFTCPDF-shaped adapter that implements CompatAdapterInterface.
NextPDF\Compat\Tcpdf\LegacyBootstrapOptional compatibility bootstrap.
NextPDF\Compat\Tcpdf\Bridge\OutputBridgeMaps legacy output destinations to NextPDF output behavior.
NextPDF\Compat\Tcpdf\Config\AdaptationConfigRuntime adaptation configuration.
NextPDF\Compat\Tcpdf\Exception\TcpdfNotImplementedExceptionExplicit unsupported-method failure.