wundii/afterbuy-sdk-symfony-bundle
最新稳定版本:1.0.2
Composer 安装命令:
composer require wundii/afterbuy-sdk-symfony-bundle
包简介
A Symfony Bundle for modern Afterbuy Programming Interface Software Development Kit - optimized for PHP 8.2+
README 文档
README
A Symfony bundle providing seamless integration for the wundii/afterbuy-sdk.
Afterbuy API Documentation
Supported Requests with Examples
- CreateShopOrder
- GetAfterbuyTime
- GetListerHistory
- GetMailTemplates
- GetPaymentServices
- GetProductDiscounts
- GetShippingCost
- GetShippingServices
- GetShopCatalogs
- GetShopProducts
- GetSoldItems
- GetStockInfo
- GetTranslatedMailTemplate
- 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> 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
统计信息
- 总下载量: 28
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-17