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 > 🌐 **English** · [Deutsch](docs/de/README.md) · [Русский](docs/ru/README.md) · [中文](docs/zh/README.md) > **Replaces mpdf + FPDI with a single MIT package — no GPL friction, and > [faster](docs/en/BENCHMARKS.md).** Pure-PHP toolkit to **generate, read, > and merge** PDFs: a GPL-free mpdf alternative for HTML→PDF and a free > FPDI alternative for import/stamp — including xref-stream and encrypted > sources. Migration is mechanical: [from mpdf](docs/en/MIGRATION-FROM-MPDF.md) · > [from FPDI](docs/en/MIGRATION-FROM-FPDI.md). [![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) [![Conformance](https://img.shields.io/github/actions/workflow/status/dskripchenko/php-pdf/conformance.yml?branch=main&label=PDF%2FA%20%C2%B7%20PDF%2FX%20%C2%B7%20visual&logo=github)](docs/en/CONFORMANCE.md) [![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) --- ## Contents - [Why this library](#why-this-library) - [Installation](#installation) - [Quick start](#quick-start) - [Feature highlights](#feature-highlights) - [Documentation](#documentation) - [The php-pdf family](#the-php-pdf-family) - [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). - **PAdES signing** (B-B, B-T with an RFC 3161 timestamp) — RSA, ECDSA and GOST R 34.10-2012, PEM / PKCS#12 / your own `Signer` (token, HSM), or **two-phase signing outside the server** (CryptoPro plug-in, HSM, signing service) — with a visible **signature stamp** filled from the certificate; **sign existing PDFs** incrementally (several signers, certification, field locks) and **long-term validation** (B-LT DSS, B-LTA document timestamps); **signature validation** against the known PDF signature attacks; **detached CAdES signatures** (`.p7s`) of any bytes, signed and verified. Ready-made signers for PKCS#11 tokens and HSMs ([php-pdf-pkcs11](https://github.com/dskripchenko/php-pdf-pkcs11)), cloud KMS — AWS, Google, Azure ([php-pdf-cloud-kms](https://github.com/dskripchenko/php-pdf-cloud-kms)) — and CryptoPro CSP on the server ([php-pdf-cryptopro](https://github.com/dskripchenko/php-pdf-cryptopro)). - **PDF/A-1a, 1b, 2b, 2u and 3b** (validated with veraPDF in CI) and **PDF/X-1a / 3 / 4** conformance with embedded 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 digital signatures. --- ## Quick start ### HTML → PDF ### Programmatic builder ### Low-level emission --- ## Feature highlights ### Input - HTML5 subset parser via `Document::fromHtml()`. - Block tags `

`, `

`–`

`, `