Download the PHP package qbus/pdfclean without Composer
On this page you can find all versions of the php package qbus/pdfclean. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download qbus/pdfclean
More information about qbus/pdfclean
Files in qbus/pdfclean
Package pdfclean
Short Description Clean meta data in PDF files on upload
License GPL-2.0-or-later
Informations about the package pdfclean
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
This extension removes all metadata information in uploaded PDF files. It requires exiftool and qpdf command line utilities to be available:
Update wizard
Running the update wizard processes roughly 10gb/hour, so make sure to run it via SSH/CLI.
Make a backup first:
Then run the wizard:
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
- Hooks into FAL API:
ResourceFactory::addFile()
andResourceFactory::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
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
Thanks to the TYPO3 GmbH and their t3g/svg-sanitizer extension which provided the technical basis for this extension.
All versions of pdfclean with dependencies
typo3/cms-extbase Version ^9.2 || ^10.1 || ^11.5
typo3/cms-install Version ^9.2 || ^10.1 || ^11.5