定制 wundii/afterbuy-sdk-symfony-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

PHP-Tests PHPStan VERSION PHP Rector ECS PHPUnit codecov PSR3 Downloads

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

Afterbuy API Documentation

Supported Requests with Examples

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

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固