PHP code example of githen / iflytek-php-sdk
1. Go to this page and download the library: Download githen/iflytek-php-sdk library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
githen / iflytek-php-sdk example snippets
return [
/*
|--------------------------------------------------------------------------
| 讯飞开放平台配置
|--------------------------------------------------------------------------
|
*/
// 开放平台 AppId
'app_id' => '',
// 开放平台秘钥 APISecret
'api_secret' => '',
// 开放平台秘钥 APIKey
'api_key' => '',
];
shell
composer ��文件
php artisan vendor:publish --provider="Githen\IflytekPhpSdk\Providers\IflytekServiceProvider"