fagai / laravel-voicetext by fagai

7
2
2
Package Data
Maintainer Username: fagai
Maintainer Contact: fagai@fagai.net (fagai)
Package Create Date: 2015-06-28
Package Last Update: 2015-06-28
Language: PHP
License: MIT
Last Refreshed: 2025-04-29 03:02:56
Package Statistics
Total Downloads: 7
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

VoiceText API for Laravel

fagai/voicetext base laravel package.

Require System

  • Laravel 5
  • PHP 5.5.9~

Install

composer require fagai/laravel-voicetext

adding config/app.php providers.

Fagai\VoiceText\ServiceProvider::class,

adding config/app.php aliases.

'VoiceText' => Fagai\VoiceText\Facade::class

install or update composer.

composer update

publish config files

php artisan vendor:publish --tag=config

Example

$voice = app('voicetext');

$voice->speaker('hikari')
	->emotion('happiness')
	->emotion_level(2)
	->pitch(150)
	->speed(120)
	->volume(150)
	->text('今日も一日がんばるぞい!');

// get wav binary data
$binaryData = $voice->get();

License

MIT License.