wundii/afterbuy-sdk-symfony-bundle

A Symfony Bundle for modern Afterbuy Programming Interface Software Development Kit - optimized for PHP 8.2+

dev-main 2025-06-17 19:05 UTC

This package is auto-updated.

Last update: 2025-06-17 19:05:44 UTC


README

PHP-Tests PHPStan VERSION PHP Rector ECS PHPUnit codecov Downloads

A Symfony bundle providing seamless integration for the wundii/afterbuy-sdk.

Installation

Require the bundle and its dependencies with composer:

composer require wundii/afterbuy-sdk-symfony-bundle

Include the bundle in your bundles.php:

return [
    // ...
    Wundii\AfterbuySdk\SymfonyBundle\AfterbuySdkBundle::class => ['all' => true],
];

Create a Symfony configuration file config/packages/afterbuy_sdk.yaml with the command:

bin/console afterbuy-sdk:default-config

Configuration File

The following setting options are available

afterbuy_sdk:
  afterbuy_global:
    accountToken: <your_account_token> / %env(accountToken)%
    partnerToken: <your_partner_token> / %env(partnerToken)%
    endpointEnum: SANDBOX / %env(endpointEnum)%
    errorLanguageEnum: DE / %env(errorLanguageEnum)%
  logger_interface: <your_logger_interface_class_string>
  validatorBuilder: