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 3d 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 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

2636d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a4a83937e1b73b06ac089c6ec67b01be9b8deb28942b8dae789f110d453c6b9?d=identicon)[AlexBlake](/maintainers/AlexBlake)

![](https://www.gravatar.com/avatar/5a2cc8039b5898eb8e53c5291c252054c99a7fd36655125c577c0cc9dede3abb?d=identicon)[AssembleOnline](/maintainers/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

[theodo-group/llphant

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

1.5k311.5k5](/packages/theodo-group-llphant)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)[sandorian/moneybird-api-php

Moneybird API client for PHP

127.3k](/packages/sandorian-moneybird-api-php)

PHPackages © 2026

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