wundii / afterbuy-sdk-symfony-bundle
A Symfony Bundle for modern Afterbuy Programming Interface Software Development Kit - optimized for PHP 8.2+
Package info
github.com/wundii/afterbuy-sdk-symfony-bundle
Type:symfony-bundle
pkg:composer/wundii/afterbuy-sdk-symfony-bundle
1.1.0
2026-10-26 07:03 UTC
Requires
- php: >=8.2
- ext-dom: *
- ext-json: *
- ext-reflection: *
- ext-simplexml: *
- ext-xml: *
- symfony/config: ^6.4 || ^7.4 || ^8.0
- symfony/console: ^6.4 || ^7.4 || ^8.0
- symfony/dependency-injection: ^6.4 || ^7.4 || ^8.0
- symfony/http-kernel: ^6.4 || ^7.4 || ^8.0
- wundii/afterbuy-sdk: ^1.2.1 || dev-main
Requires (Dev)
- ext-libxml: *
- phpstan/phpstan: 2.3.1
- phpstan/phpstan-strict-rules: 2.1.0
- phpunit/phpunit: 11.5.50
- rector/rector: 2.7.0
- symfony/var-dumper: ^7.4 || ^8.0
- symfony/yaml: ^7.4 || ^8.0
- symplify/easy-coding-standard: 13.3.8
- wundii/phplint: 0.3.4
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
A Symfony bundle providing seamless integration for the wundii/afterbuy-sdk.
Afterbuy API Documentation
Supported Requests with Examples
- CancelOrders
- CreateShopOrder
- GetAfterbuyTime
- GetListerHistory
- GetMailTemplates
- GetPaymentServices
- GetProductDiscounts
- GetShippingCost
- GetShippingServices
- GetShopCatalogs
- GetShopProducts
- GetSoldItems
- GetStockInfo
- GetTranslatedMailTemplate
- GetUserDefinedFlags
- GetVersion
- UpdateCatalogs
- UpdateShopProducts
- UpdateSoldItems
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(...)%" partnerToken: <your_partner_token> / "%env(...)%" endpointEnum: sandbox errorLanguageEnum: DE logger_interface: <your_logger_interface_class_string> validatorBuilder: <your_validatorBuilder_class_string> debug_mode: false # Enable the debug mode of the Afterbuy SDK class_map: # Class mapping for interfaces or other classes used by the data mapper DateTimeInterface: Wundii\AfterbuySdk\Extension\DateTime # default when@test: afterbuy_sdk: afterbuy_global: endpointEnum: sandbox when@prod: afterbuy_sdk: afterbuy_global: endpointEnum: prod
After modifying the configuration, it is recommended to clear the cache
bin/console cache:clear