PHPackages                             assemble/php-trint - 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. [API Development](/categories/api)
4. /
5. assemble/php-trint

ActiveLibrary[API Development](/categories/api)

assemble/php-trint
==================

Simplified PHP library to interact with Trint API

v0.1.1(7y ago)01.2k1MITPHP

Since Jan 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/AssembleOnline/php-trint)[ Packagist](https://packagist.org/packages/assemble/php-trint)[ RSS](/packages/assemble-php-trint/feed)WikiDiscussions master Synced 2w ago

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

Introduction
------------

[](#introduction)

PHPTrint is a PHP library that interacts with the [Trint](https://app.trint.com) API to push audio/video files for transcription and list transcribed file contents.

Their API docs can be found at:

This package was developed to both serve as a plain PHP Client as well as integrate with [Laravel Framework](https://laravel.com/), as such it will register a `TrintServiceProvider` and alias the singleton instance to `Trint`

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

[](#installation)

To get started with PHPTrint, simply run:

```
composer require assemble/php-trint
```

### Laravel

[](#laravel)

To publish the config file, run:

```
php artisan vendor:publish --provider="Assemble\PHPTrint\TrintServiceProvider"
```

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

[](#basic-usage)

### PHP Instantiation

[](#php-instantiation)

Firstly create an instance of the `Client`

```
use Assemble\PHPTrint\Client as TrintClient;

// create an instance of trint client
$client = new TrintClient(["api-key" => ""]);
```

### Laravel Facade

[](#laravel-facade)

This package registers a laravel singleton instance and a facade accessor for this instance

```
use Trint;

$res = Trint::put("/path/to/file.mp4"); // upload
$res = Trint::list();                   // list
$res = Trint::get("TrintId");           // content
```

### General Usage

[](#general-usage)

Pushing a file to trint, available params can be found [here](https://dev.trint.com/reference#upload)

```
// push a file to trint
$client->put("/path/to/file.mp4", [...params]);
```

Listing transcriptions on your account

```
//listing transcriptions
$limit = 10; // number of results returned
$skip = 2 // offset from start of list
$client->list($limit, $skip);
// OR just
$client->list();
```

Reading a single Trint file contents, available formats are: [srt](https://dev.trint.com/reference#srttrintid), [webvtt](https://dev.trint.com/reference#webvtttrintid), [edl](https://dev.trint.com/reference#edltrintid), [docx](https://dev.trint.com/reference#docxtrintid), [xml](https://dev.trint.com/reference#xmltrintid), [json](https://dev.trint.com/reference#jsontrintid)

```
// get trint data as string
$data = $client->get("TrintId", "json", [...params]);
```

License
-------

[](#license)

PHPTrint is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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 ~26 days

Total

2

Last Release

2682d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5071665?v=4)[Alex Blake](/maintainers/AlexBlake)[@AlexBlake](https://github.com/AlexBlake)

![](https://avatars.githubusercontent.com/u/26792721?v=4)[AssembleOnline](/maintainers/AssembleOnline)[@AssembleOnline](https://github.com/AssembleOnline)

---

Tags

laravelphptrintphptrint

### Embed Badge

![Health badge](/badges/assemble-php-trint/health.svg)

```
[![Health](https://phpackages.com/badges/assemble-php-trint/health.svg)](https://phpackages.com/packages/assemble-php-trint)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.7k371.6k6](/packages/theodo-group-llphant)[resend/resend-php

Resend PHP library.

596.2M35](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.5M11](/packages/checkout-checkout-sdk-php)[mozex/anthropic-laravel

Laravel integration for the Anthropic API: facade, config publishing, install command, testing fakes, messages, streaming, tool use, thinking, and batches.

72287.1k1](/packages/mozex-anthropic-laravel)[clicksend/clicksend-php

301.6M11](/packages/clicksend-clicksend-php)

PHPackages © 2026

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