pyatnitsev / yandex-speech
This is library for Laravel, that implements Yandex SpeechKit Cloud
Installs: 3 372
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=5.6.4
- guzzlehttp/guzzle: 6.*
- laravel/framework: ^5.1
This package is auto-updated.
Last update: 2023-01-06 05:43:49 UTC
README
This is small library, that adds Facade in laravel 5, that implements Yandex Speech Kit Cloud.
At this moment, library can transform audio file to text only.
Installation
Composer
Run the following to include this via Composer
composer require pyatnitsev/yandex-speech
Laravel 5 Configuration
To install into a Laravel project, first do the composer install then add class to your config/app.php service providers list.
Pyatnitsev\YandexSpeech\YandexSpeechServiceProvider::class,
Usage
Add using for facade:
use Pyatnitsev\YandexSpeech\YandexSpeechFacade;
and next use it in controller:
YandexSpeechFacade::getTextByAudioByURL($filePath);
this method returns best suggestion or false if no suggestions
License
This package is licensed under the MIT license.