leuchtfeuer / mautic-cdn-bundle
TODO
Package info
github.com/Leuchtfeuer/mautic-cdn-bundle
Type:mautic-plugin
pkg:composer/leuchtfeuer/mautic-cdn-bundle
5.0.0
2026-01-16 09:39 UTC
Requires
- php: ^7.4|^8.0
- ext-dom: *
- ext-json: *
- mautic/core-lib: ^4.0|^5.0
- symfony/dom-crawler: ~4.4.0|~5.4.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.4
- phpstan/phpstan: ^1.0
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpstan/phpstan-strict-rules: ^1.0
- phpunit/phpunit: ^9.5
- symfony/browser-kit: ^5.4
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Mautic 5 is EoS - There won't be support for Mautc 6 and further versions.
Works with
- Mautic 4
- Mautic 5
Install
- Install bundle into LeuchtfeuerCdnBundle directory or via composer.
- Make sure the installation has the
symfony/dom-crawlerlibrary, if you install not with composer.- For Mautic 4 the
symfony/dom-crawlerlibrary ~4.4.0 (>=4.4.0 <4.5.0) is needed. - For Mautic 5 the
symfony/dom-crawlerlibrary ~5.4.0 (>=5.4.0 <5.5.0) is needed.
- For Mautic 4 the
- Enable bundle.
How it works
The bundle provides a subscriber to the EmailEvents::EMAIL_ON_SEND, which is being called
when the Mautic sends an Email. The subscriber searches for the site_url mautic config value in the email
and replaces it with the value given in the plugin configuration script. You must limit the extensions of
the files served from CDN in the Extensions config option of the plugin.
If there is a file in the Dynamic content that should be served from the CDN it will not be replaced.
Author
Leuchtfeuer Digital Marketing GmbH