PHPackages                             trogon/otus-pdf - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. trogon/otus-pdf

AbandonedArchivedLibrary[PDF &amp; Document Generation](/categories/documents)

trogon/otus-pdf
===============

Object oriented PDF document generation library.

0.4.0(6y ago)14[3 PRs](https://github.com/trogon/otus-pdf/pulls)GPL-3.0-or-laterPHPPHP ^7.3 || ^7.2 || ^7.1 || ^7.0 || ^5.6 || ^5.5

Since May 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/trogon/otus-pdf)[ Packagist](https://packagist.org/packages/trogon/otus-pdf)[ RSS](/packages/trogon-otus-pdf/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (12)Used By (0)

Otus Pdf
========

[](#otus-pdf)

Object oriented PDF library (for PHP)

[![Latest Stable Version](https://camo.githubusercontent.com/adc70b97d47bd3fe36c483691383b0702d6b9d7e77d4f6b6ee3f8bcbc375a223/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74726f676f6e2f6f7475732d7064662e7376673f7374796c653d666c61742d737175617265266c6f676f3d7061636b6167697374)](https://packagist.org/packages/trogon/otus-pdf)[![Latest Stable Version](https://camo.githubusercontent.com/171e28605db6b7c431ab9b910203ea84125784bd79bd020aff2f4498924efb21/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f74726f676f6e2f6f7475732d7064662e7376673f7374796c653d666c61742d737175617265266c6f676f3d676974687562)](https://github.com/trogon/otus-pdf/releases/latest)[![Release Date](https://camo.githubusercontent.com/238af85957cab790f56f03745c3ade6ca504580f8b20419b12dc05217b783cfc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f74726f676f6e2f6f7475732d7064662e7376673f7374796c653d666c61742d737175617265266c6f676f3d676974687562)](https://github.com/trogon/otus-pdf/releases)[![Total Downloads](https://camo.githubusercontent.com/8e23be51388ee6ba4ac6533acb76344fda056c401a0009970b1b5427b761efe7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74726f676f6e2f6f7475732d7064662e7376673f7374796c653d666c61742d737175617265266c6f676f3d7061636b6167697374)](https://packagist.org/packages/trogon/otus-pdf)[![License](https://camo.githubusercontent.com/b64f0743b74019d8e08275d91bb6242de955f14b20ac000c8f27f41862b65c47/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f74726f676f6e2f6f7475732d7064662e7376673f7374796c653d666c61742d737175617265266c6f676f3d676e75)](https://github.com/trogon/otus-pdf/blob/master/LICENSE)

[![Latest Pre Version](https://camo.githubusercontent.com/ddeabc76f89bc4fc230b0a976c1bfe054245023ea2f700da5413f1f828cec6f8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f74726f676f6e2f6f7475732d7064662e7376673f7374796c653d666c61742d737175617265266c6f676f3d7061636b6167697374)](https://packagist.org/packages/trogon/otus-pdf)[![Latest Pre Version](https://camo.githubusercontent.com/dc89db676058fb11310a21e5fd04e8ad8bdc1642e2b9c95b0dd7952f63dcad12/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d7072652f74726f676f6e2f6f7475732d7064662e7376673f7374796c653d666c61742d737175617265266c6f676f3d676974687562)](https://github.com/trogon/otus-pdf/releases)[![Pre Release Date](https://camo.githubusercontent.com/30c67034cea141b5cb753639e2784f18bccd2882c032bc00ec5204951f885f48/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652d7072652f74726f676f6e2f6f7475732d7064662e7376673f7374796c653d666c61742d737175617265266c6f676f3d676974687562)](https://github.com/trogon/otus-pdf/releases)[![Open Issues](https://camo.githubusercontent.com/d15d83ae89a900dedfbad3db484ac0008b7daf8268bbd4405f1a8fe069e6996d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f74726f676f6e2f6f7475732d7064662e7376673f7374796c653d666c61742d737175617265266c6f676f3d676974687562)](https://github.com/trogon/otus-pdf/issues)

[![Build Status](https://camo.githubusercontent.com/443be291c7f380ae22753ffa6e8a7e14d2e243e6d675e99ea578cd004b5d270e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f74726f676f6e2f6f7475732d7064662f646576656c6f702e7376673f7374796c653d666c61742d737175617265266c6f676f3d747261766973)](https://travis-ci.com/trogon/otus-pdf)[![Code Coverage](https://camo.githubusercontent.com/a37efdf9209225c11719fbbdb1915648eaea14d3875d652b2d237f76dc4b1532/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f74726f676f6e2f6f7475732d7064662f646576656c6f702e7376673f7374796c653d666c61742d737175617265266c6f676f3d636f6465636f76)](https://codecov.io/gh/trogon/otus-pdf)[![Pull Requests](https://camo.githubusercontent.com/d8f6dc4389c08dc1c2e087fa6fa54732d83c46cb267cafb12dcde064961322f5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f74726f676f6e2f6f7475732d7064662e7376673f7374796c653d666c61742d737175617265266c6f676f3d676974687562)](https://github.com/trogon/otus-pdf/pulls)[![Required PHP Version](https://camo.githubusercontent.com/ec1d3b398dff89896b1adf4ac476159b2a1a17fbf193f2593efd6f1324f1d6d9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f74726f676f6e2f6f7475732d7064662e7376673f7374796c653d666c61742d737175617265266c6f676f3d706870)](https://php.net/)[![Language Coverage](https://camo.githubusercontent.com/e707c0cf43d578b38fc1eb831b3644591935246e546673f46c1d294c0c516a18/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f746f702f74726f676f6e2f6f7475732d7064662e7376673f7374796c653d666c61742d737175617265266c6f676f3d676974687562)](https://github.com/trogon/otus-pdf)

Installation
============

[](#installation)

Official installation method is via composer and its packagist package [trogon/otus-pdf](https://packagist.org/packages/trogon/otus-pdf).

```
$ composer require trogon/otus-pdf

```

Documentation available on

Contributing
============

[](#contributing)

Please read before submitting issues and pull requests the [CONTRIBUTING.md](https://github.com/trogon/otus-pdf/blob/develop/CONTRIBUTING.md) file.

Notice
======

[](#notice)

PHPUnit 9.0 will break compatibility with PHP 5.4 and 5.5.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 99.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Total

5

Last Release

2467d ago

PHP version history (3 changes)0.1.0PHP &gt;=5.4.0

0.2.0PHP ^7.3 || ^7.2 || ^7.1 || ^7.0 || ^5.6 || ^5.5 || ^5.4

0.4.0PHP ^7.3 || ^7.2 || ^7.1 || ^7.0 || ^5.6 || ^5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/50e36469c4ae96bca17d0bab08d95ae865c4f50b29cfa89960c3f691825dcf3d?d=identicon)[mklemarczyk](/maintainers/mklemarczyk)

---

Top Contributors

[![mklemarczyk](https://avatars.githubusercontent.com/u/2727261?v=4)](https://github.com/mklemarczyk "mklemarczyk (271 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

composer-packagelibrarypdf-documentpdf-document-processorpdf-generationphpphp54php55php56php7php71php72php73pdfpdf-generationdocument generatorOtus PDFpdf creator

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/trogon-otus-pdf/health.svg)

```
[![Health](https://phpackages.com/badges/trogon-otus-pdf/health.svg)](https://phpackages.com/packages/trogon-otus-pdf)
```

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M274](/packages/barryvdh-laravel-dompdf)[tecnickcom/tcpdf

TCPDF is a PHP class for generating PDF documents and barcodes.

4.5k101.8M472](/packages/tecnickcom-tcpdf)[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M488](/packages/mpdf-mpdf)[knplabs/knp-snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage.

4.5k68.3M56](/packages/knplabs-knp-snappy)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M100](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k34.5M215](/packages/smalot-pdfparser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
