Skip to content

Integrations API index

Use this page when you know the integration type but need the package-specific reference for Portable Document Format (PDF) work. Each row links to the authoritative application programming interface (API) page for that extension area.

The API pages are source-backed and use a shared table format: symbol, parameters, default behavior, return value, failure mode, and operational notes.

SurfacePackagePrimary symbolsAPI page
Laravel facade and container bindingsnextpdf/laravelPdf, NextPdfServiceProvider, PdfDocumentInterface, DocumentFactoryInterfaceLaravel API
Laravel Hypertext Transfer Protocol (HTTP) responsesnextpdf/laravelPdfResponse::inline, PdfResponse::download, stream response helpersLaravel API
Laravel queue jobsnextpdf/laravelGeneratePdfJob::handle, failed, then, catchLaravel API
Symfony factory and bundlenextpdf/symfonyPdfFactory, NextPdfBundle, NextPdfExtension, ConfigurationSymfony API
Symfony Messengernextpdf/symfonyGeneratePdfMessage, PdfBuilderInterface, GeneratePdfHandlerSymfony API
CodeIgniter service and librarynextpdf/codeigniterServices, Pdf, pdf(), pdf_document()CodeIgniter API
CodeIgniter queue jobnextpdf/codeigniterGeneratePdfJob::process, static builder callableCodeIgniter API
SurfacePackagePrimary symbolsAPI page
Chrome rendering on the hostnextpdf/artisanChromeHtmlRenderer, ChromeRendererConfig, ChromeRenderResult, BrowserPoolArtisan API
Chrome PDF importnextpdf/artisanPdfReader, PageImporter, ImportedFormXObject, PdfObjectArtisan API
Low-level parser diagnosticsnextpdf/artisanPdfTokenizer, CrossRefParser, RevisionXRefTable, StreamDecoderArtisan API
Cloudflare Browser Renderingnextpdf/cloudflareCloudflareHtmlRenderer, CloudflareRendererConfig, CloudflareRenderPayload, CloudflareResponseParserCloudflare API
Cloudflare API protectionnextpdf/cloudflareApiProtection, ApiProtectionConfig, ApiKeyValidator, RateLimitResultCloudflare API
Cloudflare R2 archivalnextpdf/cloudflareR2ArchiveManager, R2ArchiveConfig, R2ObjectKey, R2UploadResultCloudflare API
Gotenberg office document conversionnextpdf/gotenbergGotenbergBridge, GotenbergConfig, GotenbergConvertPayload, GotenbergConvertResultGotenberg API
Gotenberg format and transport policynextpdf/gotenbergOfficeFormat, GotenbergSecurityPolicy, GotenbergResponseParser, PinnedCurlTransportGotenberg API
SurfacePackagePrimary symbolsAPI page
TCPDF adapternextpdf/compat-legacyTCPDF, CompatAdapterInterface, LegacyBootstrap, AdaptationConfigTCPDF compatibility API
TCPDF method familiesnextpdf/compat-legacyText, font, page, image, drawing, security, form, and output concernsTCPDF method coverage
Backport build scriptsnextpdf/backport-builderBuild, MergeSources, AdjustComposer, ValidateBuildContractBackport Builder API
Backport Rector rulesnextpdf/backport-builderDowngradeAsymmetricVisibilityRector, DowngradeCloneWithRector, DowngradeTraitConstantsRectorBackport Builder API
TaskStart withThen read
Return a PDF from a framework controllerPdfResponse in the matching framework package.The package quickstart, then the api response table.
Generate PDF files in a background workerLaravel GeneratePdfJob, Symfony GeneratePdfMessage, or CodeIgniter GeneratePdfJob.The package developer-guide queue or Messenger pattern.
Render Hypertext Markup Language (HTML) with Chrome on the hostChromeHtmlRenderer::render().Artisan configuration, security, and production usage pages.
Render HTML through CloudflareCloudflareHtmlRenderer::render().Cloudflare API protection and Worker operations pages.
Convert office documentsGotenbergBridge::convertFile() or convertString().Gotenberg configuration and troubleshooting pages.
Archive generated PDFs to object storageR2ArchiveManager::upload() and generateSignedUrl().Cloudflare production usage and security pages.
Migrate a TCPDF codebaseTCPDF, method coverage, and OutputBridge.The TCPDF compatibility migration guide.
Build older-runtime packagesscripts/build.php and Build::run().The Backport developer guide and production usage pages.
TaskConfig areaPackage page
Set document metadata defaultsdefaults.*Laravel, Symfony, or CodeIgniter configuration.
Preload production fontspreload_fonts or preloadFontsFramework configuration pages.
Configure the Chrome binary and timeoutartisan.* or ChromeRendererConfigArtisan and framework configuration pages.
Configure signing and Time-Stamping Authority (TSA)signature.*, tsa.*, ocsp_cache.*Framework configuration pages.
Protect public render endpointsApiProtectionConfigCloudflare API and security pages.
Configure the R2 archiveR2ArchiveConfigCloudflare configuration and API pages.
Configure the Gotenberg serviceGotenbergConfigGotenberg configuration and API pages.
Tune compatibility behaviorAdaptationConfigTCPDF compatibility configuration page.
SymptomLikely API boundaryFirst diagnostic page
Response downloads with the wrong filenameFramework PdfResponse helper.Matching framework API page.
Queue job fails before renderingJob/message validation.Matching framework troubleshooting page.
Chrome rendering times outChromeHtmlRenderer or BrowserPool.The Artisan troubleshooting page.
Worker returns data that is not PDF outputCloudflareResponseParser.The Cloudflare troubleshooting page.
R2 upload succeeds, but the Uniform Resource Locator (URL) is not usableR2UploadResult or signed URL generation.The Cloudflare production usage page.
Office file is rejectedOfficeFormat or GotenbergSecurityPolicy.The Gotenberg troubleshooting page.
Legacy TCPDF method throwsCompatibility concern or exception factory.The TCPDF method coverage page.
Backport output fails the syntax checkRector config or custom rule.The Backport developer guide.

Each package API page is expected to document:

Required detailReason
Fully qualified symbolHelps you search source and tests without guessing namespaces.
Parameter names and defaultsPrevents call-site ambiguity and supports typed examples.
Default behaviorMakes optional input safe to omit deliberately.
Return value or side effectShows whether the method is fluent, terminal, or diagnostic.
Failure modeHelps production code fail closed and log the correct boundary.
Operational noteCaptures worker safety, security, memory, timeout, or compatibility concerns.