PHPackages                             aisdk/deepgram - 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/deepgram

ActiveLibrary

aisdk/deepgram
==============

Official Deepgram provider for the PHP AI SDK.

v0.8.1(yesterday)07↑2471.4%MITPHP ^8.3

Since Jul 22Compare

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

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

aisdk/deepgram
==============

[](#aisdkdeepgram)

[![GitHub Workflow Status](https://camo.githubusercontent.com/6595ac62f7bea96fb5e9eefb46d173da9427a7eefab13ced3a66e0aea46088cd/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f706870616973646b2f646565706772616d2f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d5465737473)](https://github.com/phpaisdk/deepgram/actions)[![Latest Version](https://camo.githubusercontent.com/59b802da88af6d92674a408cea996cd6945d72864c236eaaf8890ef748c4f473/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616973646b2f646565706772616d)](https://packagist.org/packages/aisdk/deepgram)[![License](https://camo.githubusercontent.com/53b8a61f1ceaceebec89f6ca35b6f73bbd14677ee1c8a94d76af73c9f1d55984/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f616973646b2f646565706772616d)](https://packagist.org/packages/aisdk/deepgram)

---

Official Deepgram provider for the PHP AI SDK. Uses Deepgram's native pre-recorded speech-to-text API.

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

[](#installation)

```
composer require aisdk/deepgram
```

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

[](#basic-usage)

```
use AiSdk\Content;
use AiSdk\Deepgram;
use AiSdk\Generate;

Deepgram::create(['apiKey' => $_ENV['DEEPGRAM_API_KEY']]);

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

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

[](#configuration)

VariableDescriptionDefault`DEEPGRAM_API_KEY`API key for authenticationRequired`DEEPGRAM_BASE_URL`Base URL for API requests`https://api.deepgram.com`Supported Capabilities
----------------------

[](#supported-capabilities)

CapabilitySupportPre-recorded transcriptionNative `/v1/listen`Remote audio URLsNativeLocal audio filesNative binary requestWord timing and speakersParsed when provided by DeepgramUse `providerOptions('deepgram', [...])` for Deepgram listen query parameters such as `smart_format`, `diarize`, or `language`.

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

[](#documentation)

- [Deepgram pre-recorded speech-to-text reference](https://developers.deepgram.com/reference/speech-to-text/listen-pre-recorded)
- [PHP AI SDK documentation](https://phpaisdk.com/docs/deepgram)

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance100

Actively maintained with recent releases

Popularity6

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-textaisdkdeepgram

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

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

PHPackages © 2026

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