PHPackages                             onramplab/laravel-transcription - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. onramplab/laravel-transcription

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

onramplab/laravel-transcription
===============================

A Laravel package providing transcription feature for audio file

v0.1.0(2y ago)21.3k1MITPHPPHP &gt;=8.1

Since Sep 7Pushed 2y ago2 watchersCompare

[ Source](https://github.com/OnrampLab/laravel-transcription)[ Packagist](https://packagist.org/packages/onramplab/laravel-transcription)[ RSS](/packages/onramplab-laravel-transcription/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (16)Versions (2)Used By (0)

laravel-transcription
=====================

[](#laravel-transcription)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![CircleCI](https://camo.githubusercontent.com/786c15b82a67dcb773f93d4ab81faa652227e9ced69303d92a5c46738ea8c995/68747470733a2f2f636972636c6563692e636f6d2f67682f4f6e72616d704c61622f6c61726176656c2d7472616e736372697074696f6e2e7376673f7374796c653d736869656c64)](https://circleci.com/gh/OnrampLab/laravel-transcription)[![Total Downloads](https://camo.githubusercontent.com/95d03f0fdd96fca43f89fa6a03d652873475af5ae25fd100b360f05fe2cdcff8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f6e72616d706c61622f6c61726176656c2d7472616e736372697074696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/onramplab/laravel-transcription)

A Laravel package providing transcription feature for audio file

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1;
- composer.

Features
--------

[](#features)

- Support multiple types of third-party transcription service
    - AWS Transcribe

Installation
------------

[](#installation)

```
composer require onramplab/laravel-transcription
```

Publish migration files and run command to build tables needed in package

```
php artisan vendor:publish --tag="transcription-migrations"
php artisan migrate
```

Also, you can choose to publish the configuration file

```
php artisan vendor:publish --tag="transcription-config"
```

Usage
-----

[](#usage)

### Transcription

[](#transcription)

1. Set up credentials for audio transcriber you want to use for transcription in your `config/transcription.php` configuration file.
2. Use `Transcription` facade to start a transcription.

```
Transcription::make('https://www.example.com/audio/test.wav', 'en-US');
```

The `Transcription` facade's `make` method is used to start a asynchronous transcription process. The first argument is the URL that can located the audio file you want to transcribe, and the second argument is the language of the supplied audio as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.

### Speaker Identification

[](#speaker-identification)

Sometimes you might want to identify the speaker in your audio file, you can pass the maximum of speaker count as third argument of `Transcription` facade's `make` method

```
Transcription::make('https://www.example.com/audio/test.wav', 'en-US', 3);
```

After transcription of audio file completed, you can check out the `speaker_label` attribute of each `TranscriptSegment` models related with the `Transcript` model. There would be identifiable information of the speaker for each transcript segments. For example, you might see `speaker_1` in that column to represent the first speaker.

### Redaction

[](#redaction)

For security propose, you might need to hide PII (Personal Identifiable Information) data in transcript. Then you should set up credentials for detector you want to use for PII entity detection in your `config/transcription.php` configuration file.

After setting up configuration file, you can use the fourth argument of `Transcription` facade's make method to decide whether the transcript of audio file should be redacted.

```
Transcription::make('https://www.example.com/audio/test.wav', 'en-US', shouldRedact: true);
```

Useful Tools
------------

[](#useful-tools)

Running Tests:
--------------

[](#running-tests)

```
php vendor/bin/phpunit

```

or

```
composer test

```

Code Sniffer Tool:
------------------

[](#code-sniffer-tool)

```
php vendor/bin/phpcs --standard=PSR2 src/

```

or

```
composer psr2check

```

Code Auto-fixer:
----------------

[](#code-auto-fixer)

```
composer psr2autofix
composer insights:fix
rector:fix

```

Building Docs:
--------------

[](#building-docs)

```
php vendor/bin/phpdoc -d "src" -t "docs"

```

or

```
composer docs

```

Changelog
---------

[](#changelog)

To keep track, please refer to [CHANGELOG.md](https://github.com/onramplab/laravel-transcription/blob/master/CHANGELOG.md).

Contributing
------------

[](#contributing)

1. Fork it.
2. Create your feature branch (git checkout -b my-new-feature).
3. Make your changes.
4. Run the tests, adding new ones for your own code if necessary (phpunit).
5. Commit your changes (git commit -am 'Added some feature').
6. Push to the branch (git push origin my-new-feature).
7. Create new pull request.

Also please refer to [CONTRIBUTION.md](https://github.com/onramplab/laravel-transcription/blob/master/CONTRIBUTION.md).

License
-------

[](#license)

Please refer to [LICENSE](https://github.com/onramplab/laravel-transcription/blob/master/LICENSE).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

984d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bbca07d652fcb7978dab39dde32df72ff90e7645cd4e51be87f7454853d510a7?d=identicon)[onramplab](/maintainers/onramplab)

---

Top Contributors

[![ericHao22](https://avatars.githubusercontent.com/u/38009795?v=4)](https://github.com/ericHao22 "ericHao22 (93 commits)")[![koshuang](https://avatars.githubusercontent.com/u/1978357?v=4)](https://github.com/koshuang "koshuang (1 commits)")

---

Tags

laravelaudio processingTranscriptionspeech-to-texttranscript

###  Code Quality

TestsPHPUnit

Static AnalysisRector

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/onramplab-laravel-transcription/health.svg)

```
[![Health](https://phpackages.com/badges/onramplab-laravel-transcription/health.svg)](https://phpackages.com/packages/onramplab-laravel-transcription)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[matt-daneshvar/laravel-survey

Create surveys inside your Laravel app

28770.3k](/packages/matt-daneshvar-laravel-survey)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[bjuppa/laravel-blog

Add blog functionality to your Laravel project

483.3k2](/packages/bjuppa-laravel-blog)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
