fagai/laravel-voicetext

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/fagai/laravel-voicetext

dev-master 2015-06-28 15:50 UTC

This package is auto-updated.

Last update: 2025-09-29 02:13:35 UTC


README

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.