adexos / m2-gotenberg-pdf
Adexos Gotenberg service Magento 2 module
Package info
github.com/adexos/m2-gotenberg-pdf
Type:magento2-module
pkg:composer/adexos/m2-gotenberg-pdf
v1.0.8
2026-11-10 16:50 UTC
Requires
- php: ^7.4 || ^8.0
- defuse/php-encryption: >= 2.2
- guzzlehttp/psr7: ^1.4 || ^2.0
- nyholm/psr7: ^1.4
- symfony/http-client: >= 4.4
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Adexos Gotenberg is a simple helper that fetches the Gotenberg container configured and exposes some configuration fields.
How to install
You can install it by typing : composer require adexos/m2-gotenberg-pdf:^1.0
For keep your serveur clean configure the cleanFiles cron in your di.xml after 30 the pdf is remove of the media subdirectory
<type name="Adexos\Gotenberg\Cron\CleanFiles">
<arguments>
<argument name="subMediaDirectories" xsi:type="array">
<item name="sheet" xsi:type="string">
sheets
</item>
</argument>
</arguments>
</type>
You can use the service GotenbergCleanCache for clean file of specific entity for remove caching for exemple in entityRepository save