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

ActiveLibrary

aisdk/lmnt
==========

Official LMNT provider for the PHP AI SDK.

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

Since Jul 22Compare

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

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

aisdk/lmnt
==========

[](#aisdklmnt)

[![GitHub Workflow Status](https://camo.githubusercontent.com/fd1d3eef45233958293b6a68efe3915481f8d2ef30049959f476822315e15fa9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f706870616973646b2f6c6d6e742f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d5465737473)](https://github.com/phpaisdk/lmnt/actions)[![Latest Version](https://camo.githubusercontent.com/e0bf9bf4e070b944beda0e56eb15a48f8cc4393ace37a84332fa069c3cae7de8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616973646b2f6c6d6e74)](https://packagist.org/packages/aisdk/lmnt)[![License](https://camo.githubusercontent.com/b8d302e277656ba5569eed7759eefc256fea3053b2ea95b30d8fd4c87dddaec9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f616973646b2f6c6d6e74)](https://packagist.org/packages/aisdk/lmnt)

---

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

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

[](#installation)

```
composer require aisdk/lmnt
```

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

[](#basic-usage)

```
use AiSdk\Generate;
use AiSdk\LMNT;

LMNT::create(['apiKey' => $_ENV['LMNT_API_KEY']]);

$result = Generate::speech('Hello from LMNT.')
    ->model(LMNT::model('default'))
    ->voice('your-lmnt-voice-id')
    ->run();
```

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

[](#configuration)

VariableDescriptionDefault`LMNT_API_KEY`API key for authenticationRequired`LMNT_BASE_URL`Base URL for API requests`https://api.lmnt.com`Supported Capabilities
----------------------

[](#supported-capabilities)

CapabilitySupportText-to-speechNative `POST /v1/ai/speech/bytes`LMNT voice IDPortable `->voice()` optionUse `providerOptions('lmnt', [...])` for native request fields, including language, sample rate, temperature, and top-p. LMNT Speech Sessions use a separate WebSocket API and are outside this package's current scope.

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

[](#documentation)

- [LMNT speech API reference](https://docs.lmnt.com/api/speech/generate)
- [PHP AI SDK documentation](https://phpaisdk.com/docs/lmnt)

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance100

Actively maintained with recent releases

Popularity2

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

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

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

PHPackages © 2026

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