awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
mpdf avatar

mpdf/mpdf

0
View on GitHub↗
4,693 stele·1,107 fork-uri·PHP·GPL-2.0·10 vizualizărimpdf.github.io↗

Mpdf

mPDF este o bibliotecă PHP care transformă HTML și CSS codificate UTF-8 în documente PDF formatate. Servește ca motor de generare PDF și arhitect de documente capabil să convertească pagini web și formulare HTML în fișiere profesionale.

Proiectul se distinge prin capabilitățile sale de randare multilingvă, oferind suport cuprinzător pentru text bidirecțional, scripturi de la dreapta la stânga și limbi CJK, folosind încorporarea fonturilor Unicode și procesarea layout-ului OpenType. De asemenea, permite un design profesional pregătit pentru tipar prin modelarea avansată a culorilor în CMYK, dimensionarea precisă a paginilor și conformitatea cu standardele de arhivare PDF/A și PDF/X.

Biblioteca acoperă o gamă largă de funcții de layout și interactivitate a documentelor, inclusiv generarea de formulare interactive, marcaje și indexuri căutabile. Oferă controale detaliate pentru șabloanele de pagină, anteturi și subsoluri, precum și randarea tabelelor complexe. Capabilitățile suplimentare includ criptarea PDF, subsetarea fonturilor pentru optimizarea dimensiunii fișierului și capacitatea de a importa pagini PDF externe ca șabloane.

Sistemul se integrează cu logarea conformă PSR-3 pentru a urmări evenimentele interne și erorile de execuție.

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.

Istoric stele

Graficul istoricului de stele pentru mpdf/mpdfGraficul istoricului de stele pentru mpdf/mpdf

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Mpdf

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Mpdf.
  • tecnickcom/tcpdfAvatar tecnickcom

    tecnickcom/TCPDF

    4,545Vezi pe GitHub↗

    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
    Vezi pe GitHub↗4,545
  • questpdf/questpdfAvatar QuestPDF

    QuestPDF/QuestPDF

    14,088Vezi pe GitHub↗

    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
    Vezi pe GitHub↗14,088
  • librepdf/openpdfAvatar LibrePDF

    LibrePDF/OpenPDF

    4,293Vezi pe GitHub↗

    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
    Vezi pe GitHub↗4,293
  • bpampuch/pdfmakeAvatar bpampuch

    bpampuch/pdfmake

    12,297Vezi pe GitHub↗

    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
    Vezi pe GitHub↗12,297
Vezi toate cele 30 alternative pentru Mpdf→

Întrebări frecvente

Ce face mpdf/mpdf?

mPDF este o bibliotecă PHP care transformă HTML și CSS codificate UTF-8 în documente PDF formatate. Servește ca motor de generare PDF și arhitect de documente capabil să convertească pagini web și formulare HTML în fișiere profesionale.

Care sunt principalele funcționalități ale mpdf/mpdf?

Principalele funcționalități ale mpdf/mpdf sunt: 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.

Care sunt câteva alternative open-source pentru mpdf/mpdf?

Alternativele open-source pentru mpdf/mpdf includ: 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…