Developer articles

Guides & Tutorials

Practical guides for generating PDFs from HTML in PHP, Laravel, Node.js, Python, and more.

Laravel

6 min read · Jun 1, 2026

How to Generate PDFs from HTML in Laravel (2026 Guide)

A practical guide to generating PDFs from HTML in Laravel. Skip the server config — use the PHP SDK and a REST API to get pixel-perfect PDFs in minutes.

Read article
PHP

5 min read · Jun 2, 2026

Convert HTML to PDF in PHP Without Installing Anything

Generate PDFs from HTML in plain PHP using a REST API. No Composer packages required — just a single HTTP request with curl or file_get_contents.

Read article
Migration

7 min read · Jun 3, 2026

wkhtmltopdf Alternatives in 2026: Why Hosted APIs Win

wkhtmltopdf is unmaintained and painful to deploy. Here's why developers are switching to hosted REST APIs for HTML to PDF conversion in 2026.

Read article
Comparison

6 min read · Jun 4, 2026

Puppeteer vs HTML to PDF API: Which Should You Use?

Puppeteer gives you a real browser for PDFs, but it's operationally painful. See how a hosted REST API compares — and when to use each.

Read article
Laravel

8 min read · Jun 5, 2026

Generating PDF Invoices in Laravel: A Complete Guide

Build a PDF invoice system in Laravel using Blade templates and the HTML to PDF API. Covers the template, controller, email attachment, and storage.

Read article
Node.js

5 min read · Jun 6, 2026

Generate PDFs from HTML in Node.js Using a REST API

Skip Puppeteer's infrastructure overhead. Generate HTML to PDF in Node.js with a simple fetch call — works in Express, Fastify, Next.js, and serverless.

Read article
Python

4 min read · Jun 7, 2026

HTML to PDF in Python: Generate PDFs with requests in 2 Minutes

Generate PDFs from HTML in Python using the requests library and a REST API. No WeasyPrint, no wkhtmltopdf, no browser — just a simple HTTP call.

Read article
curl

3 min read · Jun 8, 2026

Generate a PDF from HTML Using curl in 30 Seconds

The quickest way to test HTML to PDF conversion: a single curl command. Works from any terminal, CI pipeline, or shell script.

Read article
Architecture

7 min read · Jun 9, 2026

Building a PDF Generation Microservice: The REST API Approach

Learn how to design a PDF generation microservice using a hosted REST API. Covers architecture, queueing, storage, and error handling.

Read article
Comparison

6 min read · Jun 9, 2026

Best HTML to PDF APIs in 2026 (Free Tiers Compared)

Comparing the top HTML to PDF REST APIs in 2026: features, free tiers, pricing, and which is easiest to integrate with PHP, Laravel, and Node.js.

Read article
Rails

5 min read · Jun 10, 2026

Generate PDFs in Ruby on Rails (No wkhtmltopdf Required)

Generate PDFs from HTML in Ruby on Rails using a REST API. No pdf-kit, no system binary — just a Net::HTTP or Faraday call from any Rails controller.

Read article
Next.js

5 min read · Jun 11, 2026

HTML to PDF in Next.js: API Routes, Route Handlers, and Server Actions

Generate PDFs in Next.js without Puppeteer. A simple fetch call works in Pages Router, App Router, and Server Actions, including on Vercel and edge runtimes.

Read article
Django

5 min read · Jun 12, 2026

Generate PDFs in Django Without WeasyPrint System Dependencies

Generate PDFs from Django views using a REST API. Render a template to HTML, call the API with requests, return the bytes. No GTK, no system packages.

Read article
Serverless

6 min read · Jun 13, 2026

Serverless PDF Generation: Vercel, AWS Lambda & Cloudflare Workers

Puppeteer doesn't work on serverless. Here's how to generate PDFs on Vercel, AWS Lambda, and Cloudflare Workers using a REST API. Just a fetch call.

Read article
Migration

5 min read · Jun 14, 2026

DomPDF Alternative in 2026: When PHP PDF Libraries Fall Short

DomPDF's CSS support is frozen years behind modern standards: no flexbox, no grid, broken fonts. Here's what developers switch to and what the migration looks like.

Read article
n8n

4 min read · Jun 15, 2026

Generate PDF Documents in n8n Workflows

n8n has no built-in PDF node. Here's how to generate PDFs in n8n using the HTTP Request node, with a working JSON configuration and real automation examples.

Read article
Zapier

4 min read · Jun 16, 2026

Generate PDFs with Zapier: No-Code PDF Automation

Zapier has no built-in PDF action, but a Webhooks step makes it easy. Here's how to generate PDFs in Zapier and attach them to emails, Google Drive, or Slack.

Read article
Use Case

6 min read · Jun 17, 2026

Invoice PDF Generator: Build Billing PDFs from Any Stack

A practical guide to building an invoice PDF generator. HTML template design, page numbering, multi-language examples, and sending PDFs by email.

Read article
Use Case

5 min read · Jun 17, 2026

Certificate PDF Generator: Issue Certificates at Scale

Generate beautiful certificate PDFs from HTML templates. Landscape layout, custom page dimensions, and batch generation for online courses and events.

Read article
Use Case

5 min read · Jun 17, 2026

Export Dashboard to PDF: URL-to-PDF Without Puppeteer

Let users export live dashboards to PDF without Puppeteer. Use URL-based conversion with wait_until to capture fully JS-rendered charts and analytics.

Read article