PHPackages                             postyou/contao-pdf-metadata - 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. postyou/contao-pdf-metadata

ActiveContao-bundle

postyou/contao-pdf-metadata
===========================

Extends the contao file manager to clean up the metadata of PDF files for privacy reasons

2.0.1(1mo ago)014LGPL-3.0+PHPPHP ^8.0

Since Jan 4Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/postyou/contao-pdf-metadata)[ Packagist](https://packagist.org/packages/postyou/contao-pdf-metadata)[ RSS](/packages/postyou-contao-pdf-metadata/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (20)Versions (5)Used By (0)

Contao PDF Metadata
===================

[](#contao-pdf-metadata)

Extends the contao file manager to clean up the metadata of PDF files for privacy reasons.

[![Packagist Version](https://camo.githubusercontent.com/519705be70fcfb899ad2a40445e0593beeece864d593ecb9e999fbb01c37ff9a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706f7374796f752f636f6e74616f2d7064662d6d65746164617461)](https://packagist.org/packages/postyou/contao-pdf-metadata)

The following two commands are executed in the prozess:

```
$ exiftool -all= -Author='' -tagsfromfile @ -title -keywords -subject -description file.pdf -o intermediate.pdf
$ qpdf --linearize intermediate.pdf file.pdf
```

Requirements
------------

[](#requirements)

- [ExifTool](https://github.com/exiftool/exiftool) installed on the system
- [QPDF](https://github.com/qpdf/qpdf) installed on the system

Configuration
-------------

[](#configuration)

```
# config/config.yaml
contao_pdf_metadata:
    exiftool:

        # Path to the exiftool binary.
        path:                 /usr/bin/exiftool

        # Environment variables when running exiftool.
        env:

            # Prototype
            name:                 ~
    qpdf:

        # Path to the qpdf binary.
        path:                 /usr/bin/qpdf

        # Environment variables when running qpdf.
        env:

            # Prototype
            name:                 ~

    # Clean up the metadata of PDF files immediately after uploading.
    cleanup_on_upload:    false

    # Overwrites metadata fields in the cleaned PDF file.
    metadata:
        author:               ''
```

Console Command
---------------

[](#console-command)

To clean up the metadata of PDF files in the `files/` directory, you can use the following command:

```
$ vendor/bin/contao-console pdf-metadata:clean []
```

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance97

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~391 days

Total

4

Last Release

47d ago

Major Versions

1.0.1 → 2.0.02023-03-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/10e71e470c530218067e62d1ec7e7bbadb79e2377d656c2a4e7ddbe442d6b163?d=identicon)[MarkejN](/maintainers/MarkejN)

---

Top Contributors

[![MarkejN](https://avatars.githubusercontent.com/u/38976632?v=4)](https://github.com/MarkejN "MarkejN (33 commits)")

---

Tags

gdprexiftoolqpdf

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/postyou-contao-pdf-metadata/health.svg)

```
[![Health](https://phpackages.com/badges/postyou-contao-pdf-metadata/health.svg)](https://phpackages.com/packages/postyou-contao-pdf-metadata)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M647](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M191](/packages/simplesamlphp-simplesamlphp)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)

PHPackages © 2026

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