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

ActiveLibrary

aisdk/gladia
============

Official Gladia provider for the PHP AI SDK.

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

Since Jul 22Compare

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

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

aisdk/gladia
============

[](#aisdkgladia)

[![GitHub Workflow Status](https://camo.githubusercontent.com/1e19f4f6b829c7b0882f725c4fdff44ebf76c91a6f0a9d906dc00c54a499d1f4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f706870616973646b2f676c616469612f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d5465737473)](https://github.com/phpaisdk/gladia/actions)[![Latest Version](https://camo.githubusercontent.com/2331c3f79c527384030885711e5b14b4c2aeb1dee283a47bb208ed062f30a672/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616973646b2f676c61646961)](https://packagist.org/packages/aisdk/gladia)[![License](https://camo.githubusercontent.com/f7b7adc53e5ea9e9d377fdbc2dc94483df976feddd1fcc9a242251df2b7e7e70/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f616973646b2f676c61646961)](https://packagist.org/packages/aisdk/gladia)

---

Official Gladia provider for the PHP AI SDK. Uses Gladia's native pre-recorded transcription API.

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

[](#installation)

```
composer require aisdk/gladia
```

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

[](#basic-usage)

```
use AiSdk\Content;
use AiSdk\Generate;
use AiSdk\Gladia;

Gladia::create(['apiKey' => $_ENV['GLADIA_API_KEY']]);

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

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

[](#configuration)

VariableDescriptionDefault`GLADIA_API_KEY`API key for authenticationRequired`GLADIA_BASE_URL`Base URL for API requests`https://api.gladia.io`Supported Capabilities
----------------------

[](#supported-capabilities)

CapabilitySupportPre-recorded transcriptionNative `/v2/pre-recorded` jobRemote audio URLsNativeLocal audio filesUploaded with `/v2/upload`Use `providerOptions('gladia', [...])` for Gladia request fields including diarization, language configuration, and audio-intelligence options.

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

[](#documentation)

- [Gladia pre-recorded API reference](https://docs.gladia.io/api-reference/v2/pre-recorded/init)
- [PHP AI SDK documentation](https://phpaisdk.com/docs/gladia)

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance100

Actively maintained with recent releases

Popularity5

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

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

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

PHPackages © 2026

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