PHP code example of jormin / laravel-baidu-speech

1. Go to this page and download the library: Download jormin/laravel-baidu-speech 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/ */

    

jormin / laravel-baidu-speech example snippets


	Jormin\BaiduSpeech\BaiduSpeechServiceProvider::class,
	

       Jormin\BaiduSpeech\BaiduSpeech::recognize($filePath, $url, $callback, $userID, $format, $rate, $lan);
    

       Jormin\BaiduSpeech\BaiduSpeech::combine($text, $userID, $lan, $speed, $pitch, $volume, $person, $filename);
    
shell
	php artisan vendor:publish