codemonkey76 / transcription
Transcription of audio files using AWS Transcribe
1.3
2023-06-26 00:33 UTC
Requires
- php: ^8.1
- laravel/framework: ^10.0
Requires (Dev)
- nunomaduro/larastan: ^2.6
- orchestra/testbench: ^8.0
- phpunit/phpunit: ^10.2
README
Features
- Transcribe audio files.
- Facade Included.
Requirements
This package uses the Amazon AWS Transcribe service, it transcribes files that are located on S3 Storage, so you will need an Amazon AWS account, and need to setup an S3 bucket with approperiate permissions. You can then set the following environment variables to configure the service:
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_BUCKET=
AWS_DEFAULT_REGION=
TRANSCRIPTION_FOLDER=
TRANSCRIPTION_LANGUAGE=
TRANSCRIPTION_MEDIA=
TRANSCRIPTION_DELAY=
Installation
Simply require the package and Laravel will Auto-Discover the Service Provider.
composer require codemonkey76/transcription
Publish the config file
php artisan vendor:publish --provider="Codemonkey76\Transcription\TranscriptionServiceProvider"
Usage:
<?php use Codemonkey76\Transcription; $jobName = Transcription::start($file); sleep(60); $result = Transcription::status($jobName);