定制 experteam/api-base-bundle 二次开发

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

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

experteam/api-base-bundle

最新稳定版本:4.3.5

Composer 安装命令:

composer require experteam/api-base-bundle

包简介

Base functionality bundle for APIs

README 文档

README

Base Services for APIs in Symfony 5.1+
It includes:

  • Params Client: Service to obtain the value of parameters defined in api-companies.
  • JSend Response: Sets the format of the JSON response according to the JSEND specification (https://github.com/omniti-labs/jsend).
  • Request Util: Request validation service.

Install

  1. Run de following composer command:
composer require experteam/api-base-bundle
  1. Create the configuration file through any of the following options:

    a. Manually copy the example file in the package root to the folder config/packages/.

    b. Copy the vendor_copy.php file to the root of the project and configure the scripts in the composer.json file:

    "scripts": {
         "vendor-scripts": [
             "@php vendor_copy.php -s vendor/experteam/api-base-bundle/experteam_api_base.yaml.example -d config/packages/experteam_api_base.yaml --not-overwrite --ignore-no-source"
         ],
         "post-install-cmd": [
             "@vendor-scripts"
         ],
         "post-update-cmd": [
             "@vendor-scripts"
         ]
     },
    
  2. Edit the bundle configuration file config/packages/experteam_api_base.yaml:

experteam_api_base:
    params:
        remote:
            enabled: [Enabled]
            url: [URL]
        defaults:
            [PARAM NAME]: [Value]
            [PARAM NAME]: [Value]

Update

Run de following composer command:

composer update experteam/api-base-bundle

License

MIT license.

统计信息

  • 总下载量: 11.55k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-01-05