PHPackages                             tecnickcom/tc-lib-pdf-filter - 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. tecnickcom/tc-lib-pdf-filter

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

tecnickcom/tc-lib-pdf-filter
============================

PHP library to decode PDF compression and encryption filters

2.0.42(2mo ago)695.5k↓14.5%51LGPL-3.0-or-laterPHPPHP &gt;=8.1CI passing

Since May 6Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/tecnickcom/tc-lib-pdf-filter)[ Packagist](https://packagist.org/packages/tecnickcom/tc-lib-pdf-filter)[ Docs](http://www.tecnick.com)[ Fund](https://www.paypal.com/donate/?hosted_button_id=NZUEC5XS8MFBJ)[ RSS](/packages/tecnickcom-tc-lib-pdf-filter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (108)Used By (1)

tc-lib-pdf-filter
=================

[](#tc-lib-pdf-filter)

*PHP library to decode PDF compression and encryption filters*

[![Latest Stable Version](https://camo.githubusercontent.com/113cf928d1cd5481f0d91ee720278bddda13d35206c6f0d2ce089dfeae94bf47/68747470733a2f2f706f7365722e707567782e6f72672f7465636e69636b636f6d2f74632d6c69622d7064662d66696c7465722f76657273696f6e)](https://packagist.org/packages/tecnickcom/tc-lib-pdf-filter)[![Build](https://github.com/tecnickcom/tc-lib-pdf-filter/actions/workflows/check.yml/badge.svg)](https://github.com/tecnickcom/tc-lib-pdf-filter/actions/workflows/check.yml/badge.svg)[![Coverage](https://camo.githubusercontent.com/10a9a871c2f9a7f01e37c56c02b9c852b09a6ee5fd49ea219fbde1e143d19ca9/68747470733a2f2f636f6465636f762e696f2f67682f7465636e69636b636f6d2f74632d6c69622d7064662d66696c7465722f67726170682f62616467652e7376673f746f6b656e3d32334b42395434364841)](https://codecov.io/gh/tecnickcom/tc-lib-pdf-filter)[![License](https://camo.githubusercontent.com/333d820f1121ceb1a07177dfb206b2de9b7b5a15704d6b8388bb587078728506/68747470733a2f2f706f7365722e707567782e6f72672f7465636e69636b636f6d2f74632d6c69622d7064662d66696c7465722f6c6963656e7365)](https://packagist.org/packages/tecnickcom/tc-lib-pdf-filter)[![Downloads](https://camo.githubusercontent.com/e20a22b53c55afa4ababc569f75a0cd889256677f43a1ce724588751db69bde4/68747470733a2f2f706f7365722e707567782e6f72672f7465636e69636b636f6d2f74632d6c69622d7064662d66696c7465722f646f776e6c6f616473)](https://packagist.org/packages/tecnickcom/tc-lib-pdf-filter)

[![Donate via PayPal](https://camo.githubusercontent.com/e5f561f4f549822da3fbfb75d0be9059a60eac15b1ff7af66500ca1dd4dba91b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d70617970616c2d3837636565622e737667)](https://www.paypal.com/donate/?hosted_button_id=NZUEC5XS8MFBJ)*Please consider supporting this project by making a donation via [PayPal](https://www.paypal.com/donate/?hosted_button_id=NZUEC5XS8MFBJ)*

- **category** Library
- **package** \\Com\\Tecnick\\Pdf\\Filter
- **author** Nicola Asuni
- **copyright** 2011-2026 Nicola Asuni - Tecnick.com LTD
- **license**  GNU-LGPL v3 (see LICENSE.TXT)
- **link**
- **SRC DOC**

Description
-----------

[](#description)

PHP library to decode PDF compression and encryption filters.

The initial source code has been derived from [TCPDF](http://www.tcpdf.org).

Getting started
---------------

[](#getting-started)

First, you need to install all development dependencies using [Composer](https://getcomposer.org/):

```
$ curl -sS https://getcomposer.org/installer | php
$ mv composer.phar /usr/local/bin/composer
```

This project include a Makefile that allows you to test and build the project with simple commands. To see all available options:

```
make help
```

To install all the development dependencies:

```
make deps
```

Running all tests
-----------------

[](#running-all-tests)

Before committing the code, please check if it passes all tests using

```
make qa
```

All artifacts are generated in the target directory.

Example
-------

[](#example)

Examples are located in the `example` directory.

Start a development server (requires PHP 8.0+) using the command:

```
make server

```

and point your browser to

Installation
------------

[](#installation)

Create a composer.json in your projects root-directory:

```
{
    "require": {
        "tecnickcom/tc-lib-pdf-filter": "^2.0"
    }
}
```

Or add to an existing project with:

```
composer require tecnickcom/tc-lib-pdf-filter ^2.0
```

Packaging
---------

[](#packaging)

This library is mainly intended to be used and included in other PHP projects using Composer. However, since some production environments dictates the installation of any application as RPM or DEB packages, this library includes make targets for building these packages (`make rpm` and `make deb`). The packages are generated under the `target` directory.

When this library is installed using an RPM or DEB package, you can use it your code by including the autoloader:

```
require_once ('/usr/share/php/Com/Tecnick/Pdf/Filter/autoload.php');

```

Developer(s) Contact
--------------------

[](#developers-contact)

\*2026 Nicola Asuni

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance83

Actively maintained with recent releases

Popularity38

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 98.7% 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 ~37 days

Recently: every ~8 days

Total

107

Last Release

84d ago

Major Versions

1.4.37 → 2.0.62023-11-06

PHP version history (4 changes)1.0.0PHP &gt;=5.3.3

1.2.0PHP &gt;=5.4

2.0.6PHP &gt;=8.0

2.0.18PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/f8ee10615840cb28715139809c13ec322d1ccd902506b090469702e5b9d7b88e?d=identicon)[nicolaasuni](/maintainers/nicolaasuni)

---

Top Contributors

[![nicolaasuni](https://avatars.githubusercontent.com/u/1186996?v=4)](https://github.com/nicolaasuni "nicolaasuni (149 commits)")[![remicollet](https://avatars.githubusercontent.com/u/270445?v=4)](https://github.com/remicollet "remicollet (1 commits)")[![valioDOTch](https://avatars.githubusercontent.com/u/800467?v=4)](https://github.com/valioDOTch "valioDOTch (1 commits)")

---

Tags

pdfencryptioncompressionfiltertc-lib-pdf-filter

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/tecnickcom-tc-lib-pdf-filter/health.svg)

```
[![Health](https://phpackages.com/badges/tecnickcom-tc-lib-pdf-filter/health.svg)](https://phpackages.com/packages/tecnickcom-tc-lib-pdf-filter)
```

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

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

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

4.5k101.8M473](/packages/tecnickcom-tcpdf)[league/csv

CSV data manipulation made easy in PHP

3.5k166.1M646](/packages/league-csv)[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M493](/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.1M102](/packages/spatie-browsershot)

PHPackages © 2026

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