Download the PHP package dskripchenko/php-pdf without Composer

On this page you can find all versions of the php package dskripchenko/php-pdf. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-pdf

# dskripchenko/php-pdf > Pure-PHP, **MIT-licensed** PDF toolkit — **generate, read, and merge** PDFs. > A drop-in alternative for `mpdf/mpdf` (GPL-2.0) and the FPDI add-on > (proprietary) — no licensing friction for OEM, on-premise installers, or > proprietary bundles. [![Tests](https://img.shields.io/github/actions/workflow/status/dskripchenko/php-pdf/tests.yml?branch=main&label=tests&logo=github)](https://github.com/dskripchenko/php-pdf/actions/workflows/tests.yml) [![Latest Version](https://img.shields.io/packagist/v/dskripchenko/php-pdf?logo=packagist&logoColor=white)](https://packagist.org/packages/dskripchenko/php-pdf) [![Total Downloads](https://img.shields.io/packagist/dt/dskripchenko/php-pdf)](https://packagist.org/packages/dskripchenko/php-pdf) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![PHP](https://img.shields.io/badge/PHP-8.2%2B-purple.svg)](https://www.php.net) 🌐 [Русский](docs/ru/README.md) · [中文](docs/zh/README.md) · [Deutsch](docs/de/README.md) · [English](docs/en/README.md) --- ## Contents - [Why this library](#why-this-library) - [Installation](#installation) - [Quick start](#quick-start) - [Feature highlights](#feature-highlights) - [Documentation](#documentation) - [Performance](#performance) - [Requirements](#requirements) - [Testing](#testing) - [License](#license) --- ## Why this library **Licensing.** MIT is the most permissive PHP license — use the code anywhere, including closed-source products. Compare with the main PHP PDF stack: | Library | License | OEM / proprietary bundle | |--------------------------|----------------|--------------------------| | **dskripchenko/php-pdf** | **MIT** | ✅ no friction | | mpdf/mpdf | GPL-2.0-only | ❌ requires GPL bundle or commercial license | | tecnickcom/tcpdf | LGPL-2.1+ | ⚠️ static-linking nuances | | dompdf/dompdf | LGPL-2.1 | ⚠️ same as tcpdf | | setasign/fpdf | re-licensable | ✅ but extras are proprietary | **Engineering.** - **Modern PHP 8.2+** — readonly classes, enums, named arguments, strict types. Clean, type-safe API surface. - **Two-layer design** — `Pdf\Document` for low-level emission, `Build\*` fluent builders for high-level documents, `Document::fromHtml()` for HTML/CSS input. - **Strong typography** — Knuth–Plass line breaking, TTF subsetting with kerning, GSUB ligatures, ToUnicode CMaps, variable font instances, Bidi (UAX#9), Arabic shaping, basic Indic shaping, vertical writing. - **Widest barcode coverage** — 12 linear + 4 2D formats including rare Pharmacode, MSI Plessey, ITF-14, EAN-2/5 add-ons. - **Production cryptography** — RC4-128, AES-128, AES-256 (V5 R5 and R6 per ISO 32000-2 / PDF 2.0). - **PKCS#7 detached signing** with placeholder /ByteRange auto-patching. - **PDF/A-1a / 1b / 2u and PDF/X-1a / 3 / 4** conformance with embedded sRGB ICC profile and XMP metadata. - **Tagged PDF / PDF/UA-ready** structure tree with H1–H6, Table/TR/TD, L/LI, custom RoleMap, ParentTree number tree. - **Streaming output** to a stream resource for large documents. - **XRef streams** (PDF 1.5+) and Object Streams for compact output. --- ## Installation PHP 8.2 or later. Required extensions: `mbstring`, `zlib`, `dom`. Add `openssl` for AES encryption or PKCS#7 signing. --- ## Quick start ### HTML → PDF ### Programmatic builder ### Low-level emission --- ## Feature highlights ### Input - HTML5 subset parser via `Document::fromHtml()`. - Block tags `

`, `

`–`

`, `

All versions of php-pdf with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-mbstring Version *
ext-zlib Version *
ext-dom Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package dskripchenko/php-pdf contains the following files

Loading the files please wait ...