PHPackages                             aisdk/revai - 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. aisdk/revai

ActiveLibrary

aisdk/revai
===========

Official RevAi provider for the PHP AI SDK.

v0.8.1(yesterday)02↑2900%MITPHP ^8.3

Since Jul 22Compare

[ Source](https://github.com/phpaisdk/revai)[ Packagist](https://packagist.org/packages/aisdk/revai)[ Docs](https://github.com/phpaisdk/revai)[ Fund](https://opencollective.com/phpaisdk)[ RSS](/packages/aisdk-revai/feed)WikiDiscussions Synced today

READMEChangelog (2)Dependencies (6)Versions (3)Used By (0)

aisdk/revai
===========

[](#aisdkrevai)

[![GitHub Workflow Status](https://camo.githubusercontent.com/2b2dc05ff168f9545779f6bc3edfdaf99b1cf8c2990331f6f55e571d6eaab90a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f706870616973646b2f72657661692f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d5465737473)](https://github.com/phpaisdk/revai/actions)[![Latest Version](https://camo.githubusercontent.com/07274b1605b0c97da7a3b1dbd7a5ad0991d7807dcbdd4e6b65b24b28a6d3a30f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616973646b2f7265766169)](https://packagist.org/packages/aisdk/revai)[![License](https://camo.githubusercontent.com/98968100d12ed669e93207d3b6563c5a842799f9efc4a3bfb4279a82ae1cd234/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f616973646b2f7265766169)](https://packagist.org/packages/aisdk/revai)

---

Official Rev AI provider for the PHP AI SDK. Uses Rev AI's native asynchronous speech-to-text API.

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

[](#installation)

```
composer require aisdk/revai
```

Basic Usage
-----------

[](#basic-usage)

```
use AiSdk\Content;
use AiSdk\Generate;
use AiSdk\RevAi;

RevAi::create(['apiKey' => $_ENV['REVAI_ACCESS_TOKEN']]);

$result = Generate::transcription()
    ->model(RevAi::model('machine'))
    ->audio(Content::audio('https://example.com/audio.mp3'))
    ->run();
```

Configuration
-------------

[](#configuration)

VariableDescriptionDefault`REVAI_ACCESS_TOKEN`Access token for authenticationRequired`REVAI_BASE_URL`Base URL for API requests`https://api.rev.ai/speechtotext/v1`Supported Capabilities
----------------------

[](#supported-capabilities)

CapabilitySupportAsynchronous transcriptionNative `/jobs` APIPublic audio URLsNativeLocal filesNot exposed by the packageThe package submits a job, polls its status, and retrieves the transcript. Use `providerOptions('revai', [...])` for native job fields. Supply a public audio URL; local uploads are not currently exposed by this package.

Documentation
-------------

[](#documentation)

- [Rev AI speech-to-text API documentation](https://docs.rev.ai/api/asynchronous/)
- [PHP AI SDK documentation](https://phpaisdk.com/docs/revai)

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance100

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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

Every ~0 days

Total

2

Last Release

1d ago

### Community

Maintainers

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

---

Tags

aiTranscriptionspeech-to-textaisdkrevai

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/aisdk-revai/health.svg)

```
[![Health](https://phpackages.com/badges/aisdk-revai/health.svg)](https://phpackages.com/packages/aisdk-revai)
```

PHPackages © 2026

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