Skip to content
getnextpdf.com

Guides

Guides connect NextPDF to the place your code runs. This tab opens with the production operations checklist, then covers five areas in adoption order: framework and renderer integrations, the NextPDF Connect server, the Python SDK, engine extension authoring, and troubleshooting. Each section below opens with its hub, then lists the pages you will use most.

For a copyable, task-oriented recipe, use the Cookbook. For the verified Application Programming Interface (API) surface and support matrices, use the Reference.

Eight packages connect the core engine to frameworks, browser renderers, edge services, build tools, and legacy migration paths. Every package section follows the same manual structure — overview, install, quickstart, configuration, API, developer guide, production usage, security, and troubleshooting — so once you know one package’s docs, you know them all.

PageUse it for
IntegrationsThe extension map and the selection guide. Read this first to pick a package.
Integrations API indexWhich extension API page covers each framework, renderer, transport, and build-tool surface.
NextPDF for LaravelThe Laravel framework adapter.
NextPDF for SymfonyThe Symfony framework adapter.
NextPDF for CodeIgniterThe CodeIgniter framework adapter.
NextPDF ArtisanThe Chrome renderer bridge for browser-grade HTML rendering.
NextPDF CloudflareThe edge deployment path on Cloudflare.
NextPDF GotenbergThe Gotenberg renderer bridge.
TCPDF compatibilityThe compatibility shim for codebases moving off TCPDF.
NextPDF Backport BuilderThe build tool that targets older PHP runtimes.

The nextpdf/server package runs the engine as a long-lived service: one deterministic tool registry served over the Model Context Protocol (MCP), Representational State Transfer (REST), and gRPC, behind a human-in-the-loop confirmation gate for high-risk tools.

PageUse it for
NextPDF ConnectThe section hub: concepts, configuration, and operations for the server.
Connect overviewThe package boundary and the three transports.
Connect quickstartA runnable first MCP handshake and the matching REST render request.
Connect configurationThe MCP YAML file and the NEXTPDF_* environment variables.
Connect API referenceEvery registered tool, gRPC symbol, error model entry, and rate limit.
Connect deploymentRoadRunner worker profiles, Docker, and Redis-backed stores.
Connect security and operationsAuthentication, transport security, and the threat model.

Each transport has its own reference page.

PageUse it for
MCP transportJSON-RPC 2.0 framing over standard input and output.
REST transportThe OpenAPI 3.1 contract, bearer authentication, and tier-gated routes.
gRPC transportThe nextpdf.connect.v1 service, server streaming, and metadata authentication.

Citation-ready PDF extraction for Python applications, agents, and the command line, backed by a NextPDF Connect endpoint.

PageUse it for
Python SDKThe section hub for the nextpdf Python package.
Python SDK overviewWhat the SDK does and how it relates to Connect.
Python SDK quickstartInstall with pip install nextpdf and point a client at your server.
Python SDK API referenceThe client classes, methods, and typed results.
Python CLIThe command-line interface for extraction workflows.
Python MCP serverExposing the SDK to MCP-speaking agents.

The public Service Provider Interface (SPI) lets you add capability without forking: contracts for fonts, layout engines, event listeners, and signing back ends, each with an explicit stability promise.

PageUse it for
Extension authoringWhat you can extend and the stability promise behind it.
SPI stability rulesThe backward-compatibility contract your extension can rely on.
Custom fonts: the FontRegistry contractRegistering and shipping your own fonts.
Custom layout engines and text interceptionReplacing or intercepting layout behavior.
Action triggers and event listenersObserving and reacting to the document lifecycle.
KMS provider contractSupplying keys from your own Key Management Service (KMS).

Symptom-to-resolution entries grounded in the engine’s own exception taxonomy. Start from what you observe, not from a class name.

PageUse it for
TroubleshootingThe knowledge-base hub: how entries are structured and where to start.
Troubleshoot fonts and taggingFont embedding and structure-tagging failures.
Troubleshoot encryption and permissionsEncryption, password, and permission failures.
Troubleshoot memory and performanceMemory ceilings and throughput problems.
Troubleshoot PDF/A and PDF/UA validationArchival and accessibility validation failures.
Troubleshoot signatures and timestampsSignature and timestamp validation failures.
  • Cookbook — task-oriented recipes for PHP, Connect, and integrations.
  • Reference — the verified API surface, support matrices, and error reference.
  • Migrate to NextPDF — moving off another PDF library, in the Get started tab.
  • Inside NextPDF — the Insider_ essays on why the engine behaves the way it does.