2017 © Pedro Peláez
 

yii2-extension yii2-aip-speech

百度语音合成

image

e-yunduan/yii2-aip-speech

百度语音合成

  • Wednesday, November 22, 2017
  • by forecho
  • Repository
  • 1 Watchers
  • 3 Stars
  • 33 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 3 Versions
  • 38 % Grown

The README.md

baidu ai speech for Yii2

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

百度语音合成, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

php composer.phar require --prefer-dist e-yunduan/yii2-aip-speech "*"

or add, (*5)

"e-yunduan/yii2-aip-speech": "*"

to the require section of your composer.json file., (*6)

Usage

配置文件添加组件 :, (*7)

components => [
     'aipSpeech' => [
        'class' => 'eyunduan\aipSpeech\BaiduSpeech',
        'appId' => 'xxxx', // 百度语音 App ID
        'apiKey' => 'xxxx', // 百度语音 API Key
        'secretKey' => 'xxxxxx', // 百度语音 Secret Key
    ],
]
/** @var \eyunduan\aipSpeech\BaiduSpeech $aipSpeech */
$aipSpeech = \Yii::$app->get('aipSpeech');
$aipSpeech->combine('您好,世界');

The Versions

22/11 2017

dev-master

9999999-dev

百度语音合成

  Sources   Download

BSD-4-Clause

The Requires

 

extension yii2 baidu speech

22/11 2017

v1.0.1

1.0.1.0

百度语音合成

  Sources   Download

BSD-4-Clause

The Requires

 

extension yii2 baidu speech

09/11 2017

v1.0

1.0.0.0

百度语音合成

  Sources   Download

BSD-4-Clause

The Requires

 

extension yii2 baidu speech