PHPackages                             dutchie027/teli - 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. dutchie027/teli

ActiveLibrary[API Development](/categories/api)

dutchie027/teli
===============

Wrapper for Teli API

v0.1-beta(4y ago)00[2 PRs](https://github.com/dutchie027/teli-php/pulls)MITPHP

Since Dec 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/dutchie027/teli-php)[ Packagist](https://packagist.org/packages/dutchie027/teli)[ RSS](/packages/dutchie027-teli/feed)WikiDiscussions main Synced 3w ago

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

teli-php
========

[](#teli-php)

[![Latest Stable Version](https://camo.githubusercontent.com/b6c5bfdddacb41f526e11e55e9e381e62e6e6aa96cfe1ae5ccce489ce73d46a4/68747470733a2f2f706f7365722e707567782e6f72672f647574636869653032372f74656c692f76)](//packagist.org/packages/dutchie027/teli)[![Total Downloads](https://camo.githubusercontent.com/0767e6281a0b24cff19092a159e8d2c996eb5c4a8a7d29f79c54ebbfaaac35e3/68747470733a2f2f706f7365722e707567782e6f72672f647574636869653032372f74656c692f646f776e6c6f616473)](//packagist.org/packages/dutchie027/teli)[![License](https://camo.githubusercontent.com/53e9afde15faf04cb68e32ee4e093591e9deeb7a87dca146a4e220065dc0e7f0/68747470733a2f2f706f7365722e707567782e6f72672f647574636869653032372f74656c692f6c6963656e7365)](//packagist.org/packages/dutchie027/teli)[![CodeFactor](https://camo.githubusercontent.com/e4835f9aca5bfd818e35aa7790f766655a414a4f54720ea8505ea01385660dfd/68747470733a2f2f7777772e636f6465666163746f722e696f2f7265706f7369746f72792f6769746875622f647574636869653032372f74656c692d7068702f6261646765)](https://www.codefactor.io/repository/github/dutchie027/teli-php)

PHP Library Intended to Interact with [Teli's API](https://apidocs.teleapi.net/welcome/)

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

[](#installation)

```
composer require dutchie027/teli
```

Overview
--------

[](#overview)

Why did I create this API versus using the one Teli provides natively? A few reasons:

- In my opinion guzzle is WAY more powerful than using the cURL library
- Most of the Teli calls are GET calls
- Teli's library exposes the API key in the URI 95% of the time. Sure it's https calls, but that's still asking for trouble

Usage
-----

[](#usage)

```
// require the composer library
require_once 'vendor/autoload.php';
require_once 'config.php';

//make the connction to the API for use
$api = new dutchie027\Teli\API(TELI_API_TOKEN, TELI_CALL_API_SID_TOKEN);

// Add custom settings
$api = new dutchie027\Teli\API(TELI_API_TOKEN, TELI_CALL_API_SID_TOKEN, $settings);
```

### Settings

[](#settings)

The default settings are fine, however you might want to override the defaults or use your own.**NOTE: All settings are optional and you don't need to provide any**.

FieldTypeDescriptionDefault Value`log_dir`stringThe directory where the log file is stored[sys\_get\_temp\_dir()](https://www.php.net/manual/en/function.sys-get-temp-dir.php)`log_name`stringThe name of the log file that is created in `log_dir`. If you don't put .log at the end, it will append it6 random characters + [time()](https://www.php.net/manual/en/function.time.php) + .log`log_tag`stringIf you share this log file with other applications, this is the tag used in the log filevultr`log_level`stringThe level of logging the application will do. This must be either `debug`, `info`, `notice`, `warning`, `critical` or `error`. If it is not one of those values it will fail to the default`warning`Future
------

[](#future)

- The functions are stubbed out for full feature set of Teli's API, but my main focus ATM is SMS/MMS and Account Management

Contributing
------------

[](#contributing)

If you're having problems, spot a bug, or have a feature suggestion, [file an issue](https://github.com/dutchie027/teli-php/issues). If you want, feel free to fork the package and make a pull request. This is a work in progresss as I get more info and further test the API.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 70.3% 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

1668d ago

### Community

Maintainers

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

---

Top Contributors

[![dutchie027](https://avatars.githubusercontent.com/u/6707999?v=4)](https://github.com/dutchie027 "dutchie027 (26 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (11 commits)")

---

Tags

apiheadlessphpsmsphpautomationsmsheadlesspaasTeli

### Embed Badge

![Health badge](/badges/dutchie027-teli/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M13](/packages/checkout-checkout-sdk-php)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[pantheon-systems/terminus

A command line interface for Pantheon

3391.5M18](/packages/pantheon-systems-terminus)

PHPackages © 2026

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