承接 subugoe/text-api-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

subugoe/text-api-bundle

Composer 安装命令:

composer require subugoe/text-api-bundle

包简介

Provides general TextAPI implementation for Symfony 6

README 文档

README

Symfony Framework Bundle that generates TextAPI resources

Requirements

  • PHP >= 8.1
  • Composer
  • Symfony >= 6.2

Installation

  1. To add this bundle to your Symfony application please run:

    composer require @subugoe/text-api-bundle
    
  2. This bundle requires your custom Translator that communicates with your database layer to retrieve the actual data from your solution. The translator class needs to implement the TranslatorInterface.

  3. Add this configuration to your /config/services.yaml:

    myapp.translator:
        class: App\Service\[YOUR_CUSTOM_TRANSLATOR_CLASS]
    
    subugoe_text_api.text_api_service:
        class: Subugoe\TextApiBundle\Service\TextApiService
        calls:
            - setTranslator: ['@myapp.translator']
    
  4. Create a controller that fits your needs and call methods from the TextApiService. Creating routes is not in the scope of this bundle so you still keep the full control of your Responses. There is an example controller under /examples.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: AGPL-3.0-or-later
  • 更新时间: 2023-01-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固