PHPackages                             open-ecommerce/yii2-telerivet - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. open-ecommerce/yii2-telerivet

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

open-ecommerce/yii2-telerivet
=============================

This component is YII2 wrapper for Telerivet PHP module

v1.1(9y ago)06MITPHP

Since Mar 19Pushed 9y ago4 watchersCompare

[ Source](https://github.com/open-ecommerce/yii2-telerivet)[ Packagist](https://packagist.org/packages/open-ecommerce/yii2-telerivet)[ RSS](/packages/open-ecommerce-yii2-telerivet/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Telerivet for Yii2
==================

[](#telerivet-for-yii2)

This component is YII2 wrapper for Telerivet PHP SDK.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist open-ecommerce/yii2-telerivet "dev-master"

```

or if you have composer installed globaly

```
composer require --prefer-dist open-ecommerce/yii2-telerivet "dev-master"

```

or add

```
"open-ecommerce/yii2-telerivet": "dev-master"

```

to the require section of your `composer.json` file.

Depending on your minimun composer requirements defined in your composer.json you will need to add the repository:

```
"repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/open-ecommerce/yii2-telerivet"
        },
        ...

```

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by putting this in your config:

```
'components' => array(
    ...
    'Yii2Telerivet' => array(
        'class' => 'openecommerce\yiiTelerivet\YiiTelerivet',
        'account_sid' => getenv('Telerivet_ACCOUNT_SID'),
        'auth_key' => getenv('Telerivet_AUTH_KEY'),
    ),
    ...
);
```

After you have configured a component, you can use it for example in this way:

```
    $TelerivetService = Yii::$app->Yii2Telerivet->initTelerivet();

        try {
            $message = $TelerivetService->account->messages->create(
                "+12345678901", // To a number that you want to send sms
                array(
                "from" => "+12345678901",   // From a number that you are sending
                "body" => "Hello from my Yii2 Application!",
            ));
        } catch (\Telerivet\Exceptions\RestException $e) {
                echo $e->getMessage();
        }
```

For more SDK functions and usage documentation feel free to visit official Telerivet PHP SDK documentation section [here](https://github.com/Telerivet/telerivet-php-client).

Resources
---------

[](#resources)

[Telerivet.com](http://www.Telerivet.com)

If you have any questions, feel free to ask.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

Every ~0 days

Total

2

Last Release

3390d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/427080?v=4)[Eduardo Silva](/maintainers/eduardosilva)[@eduardosilva](https://github.com/eduardosilva)

---

Top Contributors

[![eduardo-g-silva](https://avatars.githubusercontent.com/u/8415412?v=4)](https://github.com/eduardo-g-silva "eduardo-g-silva (9 commits)")

---

Tags

smsyii2extensionvoicetelerivetvirtual numberprogramable number

### Embed Badge

![Health badge](/badges/open-ecommerce-yii2-telerivet/health.svg)

```
[![Health](https://phpackages.com/badges/open-ecommerce-yii2-telerivet/health.svg)](https://phpackages.com/packages/open-ecommerce-yii2-telerivet)
```

###  Alternatives

[daixianceng/yii2-smser

Yii2 SMS extension

862.9k1](/packages/daixianceng-yii2-smser)[avator/yii2-turbosms

Yii2 turbosms

1030.8k](/packages/avator-yii2-turbosms)[abhi1693/yii2-sms

Send Free Sms for Yii2

171.9k](/packages/abhi1693-yii2-sms)

PHPackages © 2026

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