Skip to content

sendinblue/api-v3-sdk is abandoned - replace by getbrevo/brevo-php #384

@steeven-th

Description

@steeven-th
Q A
Bug? yes
New Feature? no
Bundle Version 2.5
Sulu Version 2.5
Browser Version N/A

Actual Behavior

SuluFormBundle is waiting for the "sendinblue/api-v3-sdk" bundle

Expected Behavior

SuluFormBundle must wait for the new "getbrevo/brevo-php" bundle

Steps to Reproduce

Install the new BREVO bundle and test

Capture d’écran 2024-06-03 à 11 31 25

Possible Solutions

In DependencyInjection/SuluFormExtension.php file, line 199, replace this :

if ($config['sendinblue_api_key']) {
   if (!\class_exists(\SendinBlue\Client\Configuration::class)) {
      throw new \LogicException('You need to install the "sendinblue/api-v3-sdk" package to use the sendinblue type.');
   }

   $loader->load('type_sendinblue.xml');
 }

by this

if ($config['sendinblue_api_key']) {
   if (!\class_exists(\Brevo\Client\Configuration::class)) {
      throw new \LogicException('You need to install the "getbrevo/brevo-php" package to use the Brevo type.');
   }

   $loader->load('type_sendinblue.xml');
 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions