Drupal is a registered trademark of Dries Buytaert
drupal 10.6.12 Update released for Drupal core (10.6.12)! drupal 11.3.13 Update released for Drupal core (11.3.13)! drupal 10.6.11 Update released for Drupal core (10.6.11)! drupal 11.3.12 Update released for Drupal core (11.3.12)! drupal 11.2.14 Update released for Drupal core (11.2.14)! drupal 10.5.12 Update released for Drupal core (10.5.12)! cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)!

typdf

2 sites No security coverage
View on drupal.org

Typdf is a high-performance document engine for Drupal built on the Rust-based Typst open-source compiler. It offers a fast, memory-efficient way to generate complex, multi-page documents without putting heavy strain on your web server.

A Different Approach to PDF Generation

The Drupal community has long relied on excellent tools like Entity Print, Dompdf, and Wkhtmltopdf. We want to thank the developers of those projects for building the foundation that so many of us have used for years.

Typdf exists as an alternative for those who need a "markdown-first" workflow. Rather than converting heavy HTML and CSS—which can sometimes be unpredictable for print—Typdf uses a native typesetting system. This results in significantly faster generation times and lower RAM usage, making it a great fit for high-traffic or enterprise environments.

Drupal Coding Standards

  • PHPCS - Passes
  • PHPSTAN Level 8 - Passes

Key Features

  • Performance: Documents compile in milliseconds using the Rust-based engine, preventing server timeouts during heavy loads.
  • Editor Friendly: You don’t need to know Typst syntax. A built-in filter automatically translates standard CKEditor content (tables, lists, styles) into clean Typst markdown.
  • Secure Media Handling: Securely fetches external images with SSRF protection and integrates directly with the Drupal Media Library.
  • Workflow Integration: Includes support for Webforms, Views Bulk Operations (VBO), and ECA, allowing you to automate document generation across your site.
  • Administration: Manage templates directly within the Drupal UI without needing to deploy physical files.

Efficiency and Caching

Typdf is designed for scale. By saving generated PDFs as static files, subsequent downloads bypass PHP entirely, serving documents in under 5ms. It also provides granular control over CDN headers (like Varnish or Cloudflare) and ensures private files remain secure with strict local caching rules.

* Gemini Pro 3.1 Preview Model was used to help in development of this module.

Activity

Total releases
8
First release
May 2026
Latest release
4 days ago
Release cadence
6 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
1.2.0-alpha1 Pre-release Jun 23, 2026
1.1.0-alpha7 Pre-release May 26, 2026
1.1.0-alpha3 Pre-release May 21, 2026
1.1.0-alpha2 Pre-release May 21, 2026
1.1.0-alpha1 Pre-release May 16, 2026
1.1.x-dev Dev May 16, 2026
1.0.0-alpha2 Pre-release May 12, 2026
1.0.x-dev Dev May 12, 2026