An extension of Laravel Transcription package built for OnrampLab
- PHP >= 8.1
- composer
- Provide custom classes implemented for transcription use case in OnrampLab
- audio transcriber
composer require onramplab/laravel-transcription-onramp-lab-extension
The OnrampLabWhisperAudioTranscriber
class is using our company's AWS Lambda function to transcribe audio with Open AI Whisper. You can check out repository for more information.
In order to use this transcriber, you should add transcriber driver configuration in Available Transcribers section of your config/transcription.php
configuration file.
'transcription' => [
'transcribers' => [
'onramp_lab_whisper' => [
'driver' => 'onramp_lab_whisper',
'access_key' => env('AWS_ACCESS_KEY_ID'),
'access_secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
],
],
The driver name should always be onramp_lab_whisper.
php vendor/bin/phpunit
or
composer test
php vendor/bin/phpcs --standard=PSR2 src/
or
composer psr2check
composer psr2autofix
composer insights:fix
rector:fix
php vendor/bin/phpdoc -d "src" -t "docs"
or
composer docs
To keep track, please refer to CHANGELOG.md.
- Fork it.
- Create your feature branch (git checkout -b my-new-feature).
- Make your changes.
- Run the tests, adding new ones for your own code if necessary (phpunit).
- Commit your changes (git commit -am 'Added some feature').
- Push to the branch (git push origin my-new-feature).
- Create new pull request.
Also please refer to CONTRIBUTION.md.
Please refer to LICENSE.