- Issue created by @uridrupal
The package Html2Text\Html2Text; is not being installed properly.
In the module brevo_mailer it require Html2Text\Html2Text;
"require": {
"getbrevo/brevo-php": "~2.0",
"nyholm/psr7": "~1.2",
"html2text/html2text": "^4.0.1"
},
But when doing composer require 'drupal/brevo:^1.0' that dependency is not being installed, even after enabling the module brevo_mailer on Drupal.
When trying to send a test email you get the following error:
Error: Class "Html2Text\Html2Text" not found in Drupal\brevo_mailer\Plugin\Mail\BrevoMail->buildMessage() (line 257 of /var/www/webroot/webcms/releases/22-05-2023-143225/web/modules/contrib/brevo/modules/brevo_mailer/src/Plugin/Mail/BrevoMail.php).
Looking at the code unless I manually run composer require html2text/html2text:^4.0 the class is not properly loaded.
Is there an extra step required to install this plugin?
Active
1.0
Code