PHPackages                             charla/charla-php-sdk - 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. charla/charla-php-sdk

ActiveLibrary

charla/charla-php-sdk
=====================

PHP Interface to CharlaAI API

1.0.0(2y ago)23[1 PRs](https://github.com/CharlaAI/charla-php/pulls)MITPHPPHP ^8.0

Since Apr 4Pushed 1y agoCompare

[ Source](https://github.com/CharlaAI/charla-php)[ Packagist](https://packagist.org/packages/charla/charla-php-sdk)[ RSS](/packages/charla-charla-php-sdk/feed)WikiDiscussions main Synced 1mo ago

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

 [ ![Charla](_charla/logo.png) ](https://charla.pro/?utm_source=github&utm_medium=logo)

Charla SDK for PHP
==================

[](#charla-sdk-for-php)

[![CI](https://github.com/CharlaAI/charla-php/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/CharlaAI/charla-php/actions?query=workflow%3ACI+branch%3Amain)[![Latest Stable Version](https://camo.githubusercontent.com/ea001dde9b234ae48f10a4a94d00a8384c0ef1cf5d817bc37aa3c57984fc5f64/687474703a2f2f706f7365722e707567782e6f72672f636861726c612f636861726c612d7068702d73646b2f76)](https://packagist.org/packages/charla/charla-php-sdk)[![codecov](https://camo.githubusercontent.com/87c075798888213eed375b18fded7010c087e755f3fa2ee80f7b8b24c6631838/68747470733a2f2f636f6465636f762e696f2f6769746875622f436861726c6141492f636861726c612d7068702f67726170682f62616467652e7376673f746f6b656e3d553659374e3847314b32)](https://codecov.io/github/CharlaAI/charla-php)[![Total Downloads](https://camo.githubusercontent.com/fbda59d32b655991b463be5e914d75adb4542cdc5d1ffdc3c268752efa3e2f4d/687474703a2f2f706f7365722e707567782e6f72672f636861726c612f636861726c612d7068702d73646b2f646f776e6c6f616473)](https://packagist.org/packages/charla/charla-php-sdk)[![License](https://camo.githubusercontent.com/d828502a75270d0abd05a8e1e61496e0263d14183312a3fec10cc85bd906e5a7/687474703a2f2f706f7365722e707567782e6f72672f636861726c612f636861726c612d7068702d73646b2f6c6963656e7365)](https://packagist.org/packages/charla/charla-php-sdk)[![PHP Version Require](https://camo.githubusercontent.com/70bff353f5983997c562c6263c3e6680bbe67e46f22356f7adb1c69cb7f6a4bd/687474703a2f2f706f7365722e707567782e6f72672f636861726c612f636861726c612d7068702d73646b2f726571756972652f706870)](https://packagist.org/packages/charla/charla-php-sdk)

Getting started
---------------

[](#getting-started)

### Install

[](#install)

Install the SDK using [Composer](https://getcomposer.org/).

```
composer require charla/charla-php-sdk
```

Usage
-----

[](#usage)

#### Initialize client

[](#initialize-client)

```
$factory = new \CharlaAI\Charla\Transport\HttpTransportFactory();
$transport = $factory->create(new \CharlaAI\Charla\Options('TOKEN', 'https://charla.pro'))

$client = new \CharlaAI\Charla\Http\Client($transport);
```

#### Transcribe audio

[](#transcribe-audio)

```
use CharlaAI\Charla\Http\Methods\Business\v1\Chat;

$client = new \CharlaAI\Charla\Http\Client($transport);

$audio = fopen('audio.mp3', 'r');

$client->call(Chat::class)->transcribe($audio, $add_language, $diarize, $with_timestamp, $format);
```

#### List history

[](#list-history)

```
use CharlaAI\Charla\Http\Methods\Business\v1\Chat;

$client = new \CharlaAI\Charla\Http\Client($transport);

$client->call(Chat::class)->list($page, $per_page, $from, $to);
```

#### Get history

[](#get-history)

```
use CharlaAI\Charla\Http\Methods\Business\v1\Chat;

$client = new \CharlaAI\Charla\Http\Client($transport);

$client->call(Chat::class)->get($id);
```

Contributing to the SDK
-----------------------

[](#contributing-to-the-sdk)

Please refer to [CONTRIBUTING.md](CONTRIBUTING.md).

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Getting help/support
--------------------

[](#getting-helpsupport)

If you need help setting up or configuring the PHP SDK please head over to the .

License
-------

[](#license)

Licensed under the MIT license, see [`LICENSE`](LICENSE)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Unknown

Total

1

Last Release

765d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f719e7ba5deef6487999f3f3b46ec515d018e466034f8d67b071080fa3f088f?d=identicon)[charlapro](/maintainers/charlapro)

---

Top Contributors

[![InnoT20](https://avatars.githubusercontent.com/u/11256161?v=4)](https://github.com/InnoT20 "InnoT20 (12 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/charla-charla-php-sdk/health.svg)

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

###  Alternatives

[friendsofsymfony/http-cache

Tools to manage HTTP caching proxies with PHP

36114.7M36](/packages/friendsofsymfony-http-cache)[mailgun/mailgun-php

The Mailgun SDK provides methods for all API functions.

1.1k28.9M164](/packages/mailgun-mailgun-php)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M64](/packages/opensearch-project-opensearch-php)[jolicode/slack-php-api

An up to date PHP client for Slack's API

2534.4M12](/packages/jolicode-slack-php-api)[florianv/exchanger

Currency exchange rates framework for PHP

1874.7M15](/packages/florianv-exchanger)

PHPackages © 2026

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