awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
dompdf avatar

dompdf/dompdf

0
View on GitHub↗
11,075 stars·1,832 forks·PHP·lgpl-2.1·13 viewsdompdf.github.io↗

Dompdf

Dompdf is a PHP library that functions as a document rendering engine, transforming HTML and CSS markup into portable document files. It operates by parsing web-based layout attributes and visual properties to generate static documents suitable for reports, invoices, or archival purposes.

The library distinguishes itself by integrating a resource-fetching pipeline that retrieves external stylesheets and images to maintain visual fidelity. It also supports the execution of server-side scripts during the document creation process, allowing for the injection of dynamic data and custom logic into the final output.

The rendering process involves converting web markup into a structured tree of geometric boxes, which are then translated into low-level vector instructions and text streams. This workflow includes calculating element dimensions, margins, and padding, as well as mapping font metrics to ensure accurate text wrapping and document flow.

Features

  • Web-to-PDF Converters - Converts web markup and styling into portable document files by parsing layout attributes and visual properties.
  • PDF Generation Libraries - Provides a server-side tool for rendering dynamic documents from web content using standard web styling and layout engines.
  • Automated Reporting Systems - Generates professional documents from web content by automatically fetching remote assets and applying consistent visual styling.
  • Document Processing Engines - Functions as a processing utility that integrates external stylesheets and images to produce accurate printable document outputs.
  • Document Processing - Converts HTML to PDF documents.
  • Dynamic Document Generators - Injects server-side logic and real-time data into templates to create personalized documents reflecting current application state.
  • PDF Rendering Primitives - Translates calculated layout trees into low-level vector instructions and text streams compatible with the portable document format.
  • HTML Layout Parsers - Converts web markup into a structured tree of geometric boxes by calculating layout properties and visual styles.
  • CSS Box Model Renderers - Calculates element dimensions, margins, and padding to map web styling rules onto a coordinate-based canvas.

Star history

Star history chart for dompdf/dompdfStar history chart for dompdf/dompdf

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Dompdf

Similar open-source projects, ranked by how many features they share with Dompdf.
  • diegomura/react-pdfdiegomura avatar

    diegomura/react-pdf

    16,403View on GitHub↗

    This library provides a rendering engine that translates declarative component trees into PDF files. It enables the construction of complex document structures using a component-based architecture, allowing developers to define layout, styling, and content programmatically. The system operates across both browser and server-side environments, offering a unified interface for generating structured documents. The project distinguishes itself through a sophisticated layout and rendering pipeline that handles the complexities of document creation. It utilizes a flexbox-based engine for element po

    TypeScriptflexboxpdfreact
    View on GitHub↗16,403
  • foliojs/pdfkitfoliojs avatar

    foliojs/pdfkit

    10,667View on GitHub↗

    pdfkit is a JavaScript PDF generation library used to programmatically create binary PDF documents in Node.js and browser environments. It functions as a vector graphics engine for rendering paths, shapes, gradients, and tiling patterns, and as a tool for producing rich text and tagged documents that follow international accessibility standards for screen reader compatibility. The library includes a security and encryption utility for applying document encryption and restricting user permissions regarding printing, copying, or editing. It also serves as a form and annotation tool, enabling th

    JavaScript
    View on GitHub↗10,667
  • iamgio/quarkdowniamgio avatar

    iamgio/quarkdown

    10,074View on GitHub↗

    Quarkdown is a programmable document compiler and markdown static site generator. It transforms markdown source files into structured outputs, serving as a tool for generating professional books, academic papers, and digital presentations. The system distinguishes itself through a programmable layout engine that allows for the use of functions, variables, loops, and conditional logic within markdown files. It includes an interactive read-eval-print loop for testing these document functions and syntax in real time before final compilation. Additionally, it provides a specialized format for sup

    Kotlincompilerknowledge-managementmarkdown
    View on GitHub↗10,074
  • onedoclabs/react-print-pdfOnedocLabs avatar

    OnedocLabs/react-print-pdf

    2,549View on GitHub↗

    This library provides a framework for constructing professional PDF documents using declarative component syntax. It functions as a document engine that transforms component trees into structured files, allowing developers to define layouts, headers, footers, and margins through standard component structures rather than proprietary markup languages. The tool distinguishes itself by enabling server-side synthesis of dynamic data, which allows for the automated generation of personalized documents from live information sources. It maps web-standard styling and layout properties into the fixed-p

    TypeScriptdocumentdocumentsfileforge
    View on GitHub↗2,549
See all 30 alternatives to Dompdf→

Frequently asked questions

What does dompdf/dompdf do?

Dompdf is a PHP library that functions as a document rendering engine, transforming HTML and CSS markup into portable document files. It operates by parsing web-based layout attributes and visual properties to generate static documents suitable for reports, invoices, or archival purposes.

What are the main features of dompdf/dompdf?

The main features of dompdf/dompdf are: Web-to-PDF Converters, PDF Generation Libraries, Automated Reporting Systems, Document Processing Engines, Document Processing, Dynamic Document Generators, PDF Rendering Primitives, HTML Layout Parsers.

What are some open-source alternatives to dompdf/dompdf?

Open-source alternatives to dompdf/dompdf include: diegomura/react-pdf — This library provides a rendering engine that translates declarative component trees into PDF files. It enables the… foliojs/pdfkit — pdfkit is a JavaScript PDF generation library used to programmatically create binary PDF documents in Node.js and… iamgio/quarkdown — Quarkdown is a programmable document compiler and markdown static site generator. It transforms markdown source files… onedoclabs/react-print-pdf — This library provides a framework for constructing professional PDF documents using declarative component syntax. It… kozea/weasyprint — WeasyPrint is a Python-based library and layout engine that converts HTML and CSS into printable PDF documents. It… dioxuslabs/blitz — Blitz is an HTML and CSS rendering engine and native UI framework designed to translate web-standard markup into…