2017 © Pedro Peláez
 

library laravel-voicetext

image

fagai/laravel-voicetext

  • Sunday, June 28, 2015
  • by fagai
  • Repository
  • 2 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

VoiceText API for Laravel

fagai/voicetext base laravel package., (*1)

Require System

  • Laravel 5
  • PHP 5.5.9~

Install

composer require fagai/laravel-voicetext

adding config/app.php providers., (*2)

Fagai\VoiceText\ServiceProvider::class,

adding config/app.php aliases., (*3)

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

install or update composer., (*4)

composer update

publish config files, (*5)

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., (*6)

The Versions

28/06 2015

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

by Avatar fagai