PHPackages                             nek-v/yii-esmsc - 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. nek-v/yii-esmsc

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

nek-v/yii-esmsc
===============

Extension for sending SMS messages

1.0.3(10y ago)159MITPHPPHP &gt;=5.4.0

Since Nov 17Pushed 10y agoCompare

[ Source](https://github.com/nek-v/yii-esmsc)[ Packagist](https://packagist.org/packages/nek-v/yii-esmsc)[ Docs](https://github.com/nek-v/yii-esmsc)[ RSS](/packages/nek-v-yii-esmsc/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

Yii SMS send extension
======================

[](#yii-sms-send-extension)

[![Latest Stable Version](https://camo.githubusercontent.com/ccfad9f1d3df0a437977c559f780871f945b115a87aa895b262cc23f6a95eb25/68747470733a2f2f706f7365722e707567782e6f72672f6e656b2d762f7969692d65736d73632f762f737461626c652e737667)](https://packagist.org/packages/nek-v/yii-esmsc)[![License](https://camo.githubusercontent.com/dbd6690b919777a0b514b903e0fafa55337b774b5a00a44c7508d0a52b58caff/68747470733a2f2f706f7365722e707567782e6f72672f6e656b2d762f7969692d65736d73632f6c6963656e73652e737667)](https://packagist.org/packages/nek-v/yii-esmsc)

This extension is designed to send sms messages through different services and protocols. You can add your providers extending class `ESMSCProvider`. See the examples in the directory `providers`

- [Installation](#installation)
- [Usage](#usage)

### Resources

[](#resources)

- Concept and some code: [Yii EAuth](https://github.com/Nodge/yii-eauth)
- [Yii Framework](http://yiiframework.com/)
- [php-smpp](https://github.com/onlinecity/php-smpp)
- [SMPP v3.4](http://opensmpp.org/specs/smppv34_gsmumts_ig_v10.pdf)
- [Kannel](http://www.kannel.org/)

### Requirements

[](#requirements)

- PHP 5.3+
- Yii 1.1 or above

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

[](#installation)

- Configure your composer.json as in the example below

```
...
"require": {
    "nek-v/yii-esmsc"
}
...
```

- Or extract the files with the extension in the protected/extensions
- In your `protected/config/main.php`, add the following:

```
