PHPackages                             qbus/pdfclean - 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. qbus/pdfclean

ActiveTypo3-cms-extension[PDF &amp; Document Generation](/categories/documents)

qbus/pdfclean
=============

Clean meta data in PDF files on upload

1.0.1(3y ago)0396GPL-2.0-or-laterPHP

Since Nov 18Pushed 3y ago3 watchersCompare

[ Source](https://github.com/qbus-agentur/pdfclean)[ Packagist](https://packagist.org/packages/qbus/pdfclean)[ RSS](/packages/qbus-pdfclean/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (3)Used By (0)

PDF exif meta data cleaner
==========================

[](#pdf-exif-meta-data-cleaner)

This extension will clean any PDF file uploaded to the TYPO3 system, but only with the default options. Please read the following section carefully for all details.

Important to know
-----------------

[](#important-to-know)

This extension removes all metadata information in uploaded PDF files. It requires exiftool and qpdf command line utilities to be available:

```
# ddev
ddev config --webimage-extra-packages=libimage-exiftool-perl,qpdf

# Fedora (RPM)
sudo dnf install perl-Image-ExifTool qpdf

# Debian (dpkg)
sudo apt install libimage-exiftool-perl qpdf
```

Update wizard
-------------

[](#update-wizard)

Running the update wizard processes roughly 10gb/hour, so make sure to run it via SSH/CLI.

Make a backup first:

```
mkdir -p ../fileadmin_pdf_backup/
rsync -avz --include '*.pdf' --exclude '*.*' fileadmin/ ../fileadmin_pdf_backup/
```

Then run the wizard:

```
php -d memory_limit=1G -d error_log=syslog \
    typo3/sysext/core/bin/typo3 upgrade:run 'Qbus\Pdfclean\Updates\CleanExistingPDF'
```

Also make sure to disable extensions that hook into FAL operations and clear caches in between, they will result in a massive slowdown. (Example: `fs_media_gallery`)

What this extension does
------------------------

[](#what-this-extension-does)

- Hooks into FAL API: `ResourceFactory::addFile()` and `ResourceFactory::replaceFile()`
- Hooks into FAL API: `ResourceStorage::setFileContents()`
- Hooks into DataHandler: Handling files for group/select function
- Hooks into `GeneralUtility::upload_copy_move()`
- Hooks into `GeneralUtility::upload_to_tempfile()`
- Provide an upgrade wizard for existing PDF files (please read the warnings in the upgrade wizard carefully)

WARNING
-------

[](#warning)

This extension can only sanitize the files if the upload is done in one of the ways described above. For example, if a third-party extension allows to upload files and does not use the core APIs described above, the PDF cleaner will not run.

Credits
-------

[](#credits)

Thanks to the TYPO3 GmbH and their [t3g/svg-sanitizer](https://github.com/TYPO3GmbH/svg_sanitizer) extension which provided the technical basis for this extension.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.8% 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 ~0 days

Total

2

Last Release

1277d ago

### Community

Maintainers

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

---

Top Contributors

[![NeoBlack](https://avatars.githubusercontent.com/u/1128085?v=4)](https://github.com/NeoBlack "NeoBlack (50 commits)")[![bnf](https://avatars.githubusercontent.com/u/473155?v=4)](https://github.com/bnf "bnf (25 commits)")[![andreaskienast](https://avatars.githubusercontent.com/u/1787983?v=4)](https://github.com/andreaskienast "andreaskienast (7 commits)")[![ohader](https://avatars.githubusercontent.com/u/402145?v=4)](https://github.com/ohader "ohader (2 commits)")[![sgrossberndt](https://avatars.githubusercontent.com/u/3786510?v=4)](https://github.com/sgrossberndt "sgrossberndt (1 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/qbus-pdfclean/health.svg)

```
[![Health](https://phpackages.com/badges/qbus-pdfclean/health.svg)](https://phpackages.com/packages/qbus-pdfclean)
```

###  Alternatives

[pagemachine/typo3-formlog

Form log for TYPO3

23225.3k6](/packages/pagemachine-typo3-formlog)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[eliashaeussler/typo3-form-consent

Extension for TYPO3 CMS that adds double opt-in functionality to EXT:form

1481.0k](/packages/eliashaeussler-typo3-form-consent)[mautic/mautic-typo3

Add-on TYPO3 extension that enhances the "EXT:marketing\_automation" TYPO3 extension by connecting it to the Mautic Marketing Automation platform: Determine "Persona" from Mautic segments. Also provides additional services e.g. language synchronisation between Mautic and TYPO3.

236.3k](/packages/mautic-mautic-typo3)

PHPackages © 2026

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