awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
dompdf avatar

dompdf/dompdf

0
View on GitHub↗
11,075 星标·1,832 分支·PHP·lgpl-2.1·4 次浏览dompdf.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 历史

dompdf/dompdf 的 Star 历史图表dompdf/dompdf 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Dompdf 的开源替代方案

相似的开源项目,按与 Dompdf 的功能重合度排序。
  • diegomura/react-pdfdiegomura 的头像

    diegomura/react-pdf

    16,403在 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
    在 GitHub 上查看↗16,403
  • foliojs/pdfkitfoliojs 的头像

    foliojs/pdfkit

    10,667在 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
    在 GitHub 上查看↗10,667
  • iamgio/quarkdowniamgio 的头像

    iamgio/quarkdown

    10,074在 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
    在 GitHub 上查看↗10,074
  • onedoclabs/react-print-pdfOnedocLabs 的头像

    OnedocLabs/react-print-pdf

    2,549在 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
    在 GitHub 上查看↗2,549
查看 Dompdf 的所有 30 个替代方案→

常见问题解答

dompdf/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.

dompdf/dompdf 的主要功能有哪些?

dompdf/dompdf 的主要功能包括:Web-to-PDF Converters, PDF Generation Libraries, Automated Reporting Systems, Document Processing Engines, Document Processing, Dynamic Document Generators, PDF Rendering Primitives, HTML Layout Parsers。

dompdf/dompdf 有哪些开源替代品?

dompdf/dompdf 的开源替代品包括: 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…