awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
mpdf avatar

mpdf/mpdf

0
View on GitHub↗
4,693 Stars·1,107 Forks·PHP·GPL-2.0·10 Aufrufempdf.github.io↗

Mpdf

mPDF ist eine PHP-Bibliothek, die UTF-8-kodiertes HTML und CSS in formatierte PDF-Dokumente umwandelt. Sie dient als PDF-Generierungs-Engine und Dokumentenarchitekt, der in der Lage ist, Webseiten und HTML-Formulare in professionelle Dateien zu konvertieren.

Das Projekt zeichnet sich durch seine mehrsprachigen Rendering-Fähigkeiten aus und bietet umfassende Unterstützung für bidirektionalen Text, Right-to-Left-Skripte und CJK-Sprachen unter Verwendung von Unicode-Schrift-Einbettung und OpenType-Layout-Verarbeitung. Es ermöglicht zudem ein professionelles, druckfertiges Design durch fortschrittliche Farbmodellierung in CMYK, präzise Seitendimensionierung und die Einhaltung von PDF/A- und PDF/X-Archivierungsstandards.

Die Bibliothek deckt eine breite Palette von Dokumentenlayout- und Interaktivitätsfunktionen ab, einschließlich der Generierung interaktiver Formulare, Lesezeichen und durchsuchbarer Indizes. Sie bietet detaillierte Kontrollen für Seitenvorlagen, Kopf- und Fußzeilen sowie komplexes Rendering tabellarischer Daten. Zusätzliche Funktionen umfassen PDF-Verschlüsselung, Schrift-Subsetting zur Optimierung der Dateigröße und die Möglichkeit, externe PDF-Seiten als Vorlagen zu importieren.

Das System integriert sich in PSR-3-konformes Logging, um interne Ereignisse und Ausführungsfehler zu verfolgen.

Features

  • PDF Generation Libraries - Acts as a framework for creating and formatting professional PDF documents with custom typography and print standards.
  • HTML to PDF Converters - Transforms UTF-8 encoded HTML and CSS into formatted PDF documents supporting international languages.
  • PDF Document Generation - Transforms HTML and CSS into binary PDF files using global settings and font variables.
  • Paged Media Layout Engines - Implements a paged media layout engine that resolves CSS stylesheets and media queries for physical PDF output.
  • Text Direction Controls - Configures the reading order and display direction for both RTL and LTR internationalization.
  • Multilingual PDF Generation - Renders PDF documents in multiple languages with support for bidirectional text, RTL scripts, and Unicode font embedding.
  • RTL Document Configuration - Configures the document for RTL layout, adjusting text alignment and table columns.
  • Multilingual Document Generation - Renders complex scripts and global languages including RTL and CJK using Unicode fonts and bidirectional text handling.
  • Page Break Management - Controls where content splits across pages using CSS properties or specialized tags to maintain logical cohesion.
  • Page Insertion - Adds new pages to the document with optional overrides for margins, orientation, and conditional breaks.
  • Page Layout Configurations - Defines physical page dimensions, margins, and regional settings to establish the visual structure of the PDF.
  • PDF Document Management - Provides comprehensive tools for building professional PDFs with automated tables of contents, indexes, and interactive forms.
  • Print Production Workflows - Configures precise page dimensions, margins, CMYK color modeling, and bleed marks for professional printing and PDF/A standards.
  • Color Modeling Systems - Deno PDF defines colors using RGB, HSL, or CMYK, including transparency for background elements.
  • Complex Script Renderers - Processes bidirectional runs and complex glyph shaping for scripts like Arabic and Hebrew.
  • Layout Rule Processors - Interprets OpenType GSUB and GPOS tables to apply substitution and positioning rules for advanced typography.
  • Bidirectional Text Layouts - Provides comprehensive bidirectional text processing for mixed LTR and RTL scripts.
  • CSS Styling - Uses CSS stylesheets to control page dimensions, margins, and overall element styling for physical PDF output.
  • Language-to-Font Mapping - Analyzes input text to automatically detect language and map it to the appropriate font.
  • Right-To-Left Support - Provides styling rules and layout mirroring to correctly display right-to-left scripts like Arabic and Hebrew.
  • PDF Font Embedding - Integrates font glyphs directly into the PDF binary to ensure consistent rendering across all viewers.
  • PDF Table Rendering - Generates native PDF tables from HTML including support for nesting, rotation, and auto-resizing.
  • Unicode Typography Renderers - Uses native Unicode and OpenType support to render characters from all Unicode planes, including historical scripts.
  • Report Generation - Creates professional reports with dynamic headers, footers, page numbering, and tables of contents from structured data.
  • Letterhead Generation - Generates multi-page documents with a specific layout for the first page and different subsequent layouts.
  • Table Border Styling - Implements border-collapse rules to resolve conflicts between adjacent cell and table borders.
  • PDF Exports - Writes the generated PDF content directly to a specified file system path.
  • Dynamic PDF Generators - Generates customized PDFs featuring dynamic watermarks, barcodes, and embedded external templates for business workflows.
  • PDF Page Extraction - Extracts specific pages or cropped regions from external PDF files to use as templates.
  • Content Splitting Prevention - Keeps block elements or table headings on a single page to prevent related information from being separated.
  • Document Metadata Definitions - Sets keywords in document properties to improve discoverability in PDF readers.
  • External PDF Templates - Inserts specific pages from external PDF files to serve as background templates for subsequent pages.
  • Mirror Margin Configurations - Alternates left and right margins on odd and even pages to create proper gutters for bound documents.
  • Automatic Page Numbering - Inserts dynamic page numbers with options to suppress, reset, or change numeral styles.
  • International Numeral Systems - Supports page numbering using various global numeral systems including decimal, roman, and Indic scripts.
  • Numbering Styles - Customizes page number prefixes, suffixes, and styles to control the pagination appearance.
  • Total Page Count Placeholders - Places dynamic placeholders in the document that resolve to the final total page count.
  • Print Layouts - Inserts pages and specifies odd or even page starts to support professional duplex printing.
  • PDF Archival Standard Compliance - Produces documents compliant with PDF/A and PDF/X specifications for long-term digital archiving.
  • Template Page Importing - Imports specific pages or regions from existing PDF files to use as background templates or combined content.
  • Table Fitting Optimizations - Shrinks tables to fit a single page or moves them to the next page to prevent content breaks.
  • Table Header Repetition - Duplicates the first row of a table on every new page when the table spans multiple pages.
  • Web Page to PDF Converters - Transforms HTML web pages into PDF documents using CSS to control element visibility.
  • Coordinate-Based Graphic Rendering - Deno PDF renders barcodes, rounded rectangles, and lines directly to the page without using HTML.
  • Coordinate-Based Rendering - Renders graphics like barcodes and lines by mapping absolute coordinates to the PDF page grid.
  • PDF Page Resizing - Defines the physical width and height of PDF pages using custom values or standard sizes.
  • PDF Image Embedding - Deno PDF places a graphic file at specific coordinates with controls for sizing and hyperlinking.
  • PDF Encryptions and Decryptions - Deno PDF encrypts the file and defines user permissions to restrict how the document is modified.
  • PDF Permission Controls - Deno PDF encrypts the document and defines permissions for printing and modifying using owner passwords.
  • Spot Color Definitions - Specifies named custom ink colors using CMYK values for professional-grade printing.
  • Block-Level Styling - Deno PDF uses stylesheets to define layout, colors, and typography for block-level elements.
  • PDF Generation Control Tags - Implements specialized HTML tags that control PDF generation without affecting web browser rendering.
  • Script Block Font Mapping - Detects Unicode script blocks and automatically assigns appropriate fonts via language attributes.
  • CSS Column-Count Multi-Column Layouts - Arranges content into multiple columns using CSS properties to define gaps and vertical alignment.
  • Paged Media Selectors - Sets margins, sizes, and orientation using CSS @page selectors and pseudo-selectors.
  • CSS Typography - Deno PDF sets typography attributes including font family, size, and weight using standard CSS properties.
  • Custom Stylesheets - Deno PDF overrides the default stylesheet using a custom CSS file to define project-wide styling.
  • Indic Script Renderers - Displays characters from Indic languages using specialized fonts and appropriate Unicode ranges.
  • Font Subsetting Engines - Reduces PDF file size by extracting and embedding only the specific characters used in the document.
  • CJK Font Subsetting - Reduces file size by embedding only the required character subsets of large East Asian fonts.
  • Phrase Line Break Preservers - Implements dictionary-based line-breaking rules to preserve natural phrase groupings in languages like Thai and Lao.
  • Interactive PDF Form Fields - Creates interactive PDF form elements including text fields and checkboxes with JavaScript support.
  • Custom HTML Footers - Renders custom HTML content at the bottom of a page with specific side positioning.
  • Page Layout Templates - Defines reusable header and footer layouts that can be swapped during document generation.
  • Page Layout Templates - Creates reusable page definitions that can be assigned to sections to switch layouts mid-document.
  • Document Media Queries - Implements conditional styles based on media queries to optimize formatting for physical print output.
  • Language-Specific Styling - Uses HTML lang attributes and CSS selectors to apply typography and styles specific to the document language.
  • Font Subsetting Engines - Extracts and retains only the necessary glyphs from font files to minimize the final PDF size.
  • Indic Consonant Conjunct Processing - Processes characters and consonant conjuncts for Indic languages using specialized font processing.
  • Custom Font Registrars - Maps TrueType font files to specific family names and variants to enable custom typography.
  • Pan-CJK Rendering - Provides specialized rendering logic for unified serif glyphs across Chinese, Japanese, and Korean scripts.
  • Automatic Content Sizing - Automatically adjusts table dimensions to fit the page width and prevent content overflow.
  • Text Wrapping & Alignment - Calculates text flow and line breaks to automatically wrap content within specified page boundaries.
  • Vector Graphics Rendering - Processes and renders scalable vector graphics (SVG) within documents via XML extensions.
  • PDF Layout Control Commands - Injects specialized formatting commands into HTML to control PDF generation independently of browser rendering.

Star-Verlauf

Star-Verlauf für mpdf/mpdfStar-Verlauf für mpdf/mpdf

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Mpdf

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Mpdf.
  • tecnickcom/tcpdfAvatar von tecnickcom

    tecnickcom/TCPDF

    4,545Auf GitHub ansehen↗

    TCPDF is a PHP library for the programmatic generation of PDF documents, allowing developers to create files containing text, graphics, and forms directly from application code. It includes a typography engine that supports Unicode strings, bidirectional scripts, and the embedding of TrueType or OpenType fonts. The library provides specialized tools for producing documents that adhere to PDF/A, PDF/X, and PDF/UA standards for archiving, printing, and accessibility. It features a digital signing system that applies CMS signatures and RFC 3161 timestamps, supporting long-term validation through

    PHPpdfpdf-generation
    Auf GitHub ansehen↗4,545
  • questpdf/questpdfAvatar von QuestPDF

    QuestPDF/QuestPDF

    14,088Auf GitHub ansehen↗

    QuestPDF is a C# PDF generation library and layout engine used to create structured documents, reports, and invoices. It utilizes a fluent API and a component-based layout approach to convert code into high-fidelity PDF and XPS files. The library distinguishes itself with a dedicated layout debugger that provides real-time previews, hot-reload capabilities, and visual boundary tools to map rendered elements back to source code. It also functions as an accessibility tool, providing semantic tagging and navigational aids to ensure documents comply with international accessibility and archival s

    C#c-sharpdotnet-coreexport
    Auf GitHub ansehen↗14,088
  • librepdf/openpdfAvatar von LibrePDF

    LibrePDF/OpenPDF

    4,293Auf GitHub ansehen↗

    OpenPDF is a Java library and document processor used for creating, editing, rendering, and encrypting PDF documents. It functions as a toolkit for generating new files from scratch, modifying existing document structures, and extracting text content. The project includes a dedicated engine for transforming HTML and CSS content into PDF documents by parsing markup and applying styles. It also provides a rendering engine to convert PDF pages into image formats for thumbnails and previews, alongside a security utility for protecting content via document encryption. The library supports the add

    Java
    Auf GitHub ansehen↗4,293
  • bpampuch/pdfmakeAvatar von bpampuch

    bpampuch/pdfmake

    12,297Auf GitHub ansehen↗

    pdfmake is a JavaScript PDF generation library and declarative document engine that transforms structured JavaScript objects into formatted PDF files. It functions as a layout engine capable of producing documents on both the client side within a web browser and on the server side using Node.js. The library utilizes a declarative approach to translate object-based document definitions into final PDFs. It distinguishes itself through a virtual layout engine that calculates element positions and page breaks and an inheritance-based style system that uses dictionaries to maintain visual consiste

    JavaScript
    Auf GitHub ansehen↗12,297
Alle 30 Alternativen zu Mpdf anzeigen→

Häufig gestellte Fragen

Was macht mpdf/mpdf?

mPDF ist eine PHP-Bibliothek, die UTF-8-kodiertes HTML und CSS in formatierte PDF-Dokumente umwandelt. Sie dient als PDF-Generierungs-Engine und Dokumentenarchitekt, der in der Lage ist, Webseiten und HTML-Formulare in professionelle Dateien zu konvertieren.

Was sind die Hauptfunktionen von mpdf/mpdf?

Die Hauptfunktionen von mpdf/mpdf sind: PDF Generation Libraries, HTML to PDF Converters, PDF Document Generation, Paged Media Layout Engines, Text Direction Controls, Multilingual PDF Generation, RTL Document Configuration, Multilingual Document Generation.

Welche Open-Source-Alternativen gibt es zu mpdf/mpdf?

Open-Source-Alternativen zu mpdf/mpdf sind unter anderem: tecnickcom/tcpdf — TCPDF is a PHP library for the programmatic generation of PDF documents, allowing developers to create files… questpdf/questpdf — QuestPDF is a C# PDF generation library and layout engine used to create structured documents, reports, and invoices.… librepdf/openpdf — OpenPDF is a Java library and document processor used for creating, editing, rendering, and encrypting PDF documents.… bpampuch/pdfmake — pdfmake is a JavaScript PDF generation library and declarative document engine that transforms structured JavaScript… hopding/pdf-lib — pdf-lib is a JavaScript PDF manipulation library used for creating, modifying, and editing PDF documents… kevin2li/pdf-guru — PDF-Guru is an AI-powered document processor and study material converter designed to transform textbooks, research…