Search by

saber / voice-to-text

dayzzhang

语音转文字api

Package info

gitee.com/xaioke/voice-to-text.git

pkg:composer/saber/voice-to-text

Statistics

Installs: 85

Dependents: 0

Suggesters: 0

0.2.2 2026-10-22 10:20 UTC

This package is auto-updated.

Last update: 2026-10-22 11:06:49 UTC


README

介绍

语音转文字sdk

软件架构

软件架构说明

环境要求

  • PHP ^8.1(已在 PHP 8.3.36 下实测,无 E_DEPRECATED 告警)
  • guzzlehttp/guzzle ^7.9(实测 7.10.0)
  • pimple/pimple ^3.5(实测 3.6.0)
  • topthink/think-helper ^3.1
  • PHP 扩展:ext-json、ext-curl

安装教程

  1. 使用 Composer 2.x 安装:

    composer require saber/voice-to-text:^0.2
    
  2. 若包尚未发布到 Packagist,先在 composer.json 中声明 VCS 仓库,再执行上面的安装命令:

    {
      "repositories": [
        { "type": "vcs", "url": "https://gitee.com/xaioke/voice-to-text.git" }
      ]
    }
    
  3. 若项目启用了 Composer 2.2+ 的插件白名单,需允许本项目依赖的 Composer 插件,否则安装会中断(yurunsoft/guzzle-swoole 为开发依赖,仅安装 dev 包时需要):

    {
      "config": {
        "allow-plugins": {
          "yurunsoft/composer-include-files": true,
          "yurunsoft/guzzle-swoole": true
        }
      }
    }
    
  4. 引入 Composer 自动加载:

    require __DIR__ . '/vendor/autoload.php';
    

使用说明

  1. xxxx
  2. xxxx
  3. xxxx

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

特技

  1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
  2. Gitee 官方博客 blog.gitee.com
  3. 你可以 https://gitee.com/explore 这个地址来了解 Gitee 上的优秀开源项目
  4. GVP 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
  5. Gitee 官方提供的使用手册 https://gitee.com/help
  6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 https://gitee.com/gitee-stars/