2lenet / hermes-bundle
Email sender library
Requires
- php: ^8.4
- ext-imap: *
- 2lenet/crudit-bundle: ^1.5.11
- 2lenet/entity-file-bundle: ^1.1.2
- doctrine/collections: ^1.0 || ^2.0 || ^3.0
- doctrine/common: ^2.13 || ^3.0
- doctrine/event-manager: ^1.0 || ^2.0
- doctrine/orm: ^2.11 || ^3.0
- doctrine/persistence: ^2.0 || ^3.0 || ^4.0
- stof/doctrine-extensions-bundle: ^1.13
- symfony/dependency-injection: ^7.0 || ^8.0
- symfony/framework-bundle: ^7.0 || ^8.0
- symfony/lock: ^7.0 || ^8.0
- symfony/mailer: ^7.0 || ^8.0
- symfony/orm-pack: *
- symfony/twig-bundle: ^7.0 || ^8.0
- symfony/validator: ^7.0 || ^8.0
- symfony/yaml: ^7.0 || ^8.0
- twig/twig: ^3.4
Requires (Dev)
- phpstan/phpstan: ^2.0
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-doctrine: ^2.0
- phpstan/phpstan-mockery: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpstan/phpstan-symfony: ^2.0
- phpunit/phpunit: ^10.3
- squizlabs/php_codesniffer: ^3.6
This package is auto-updated.
Last update: 2026-08-25 08:28:07 UTC
README
Simple mail manager for Crudit Bundle. You can use this bundle to create and send mails using templates. It depends on Symfony Mailer.
Installation
Execute the following composer command to add the bundle to the dependencies of your project:
composer require 2lenet/hermes-bundle
Afterwards, visit the documentation to find out how to set up and configure HermesBundle to your specific needs.
Licence
HermesBundle is released under the under terms of the MIT License.
Consent
To include a consent management link in an email, add an anchor with {{ CONSENT_LINK }} as its href in the template:
<a href="{{ CONSENT_LINK }}">Consent</a>
You also need to enable the statistics boolean on the Template (note: this flag also enables link-click statistics). The template context additionally exposes consent_value (bool), indicating whether the recipient has already given consent.
