Yii 2 Aruba SMS Api

dev-master 2016-06-22 11:10 UTC

This package is auto-updated.

Last update: 2021-04-12 03:18:06 UTC


This widget will let you send SMS through the HTTP interface exposed by Aruba (http://guide.hosting.aruba.it/web-marketing/sms-aruba/invio-sms-tramite-api-sms-aruba.aspx).


The preferred way to install this extension is through composer.


Either run

$ php composer.phar require d4rkstar/yii2-arubasms "dev-master"

or add

"d4rkstar/yii2-arubasms": "dev-master"

to the require section of your composer.json file.

Sample Usage

In the section components of your app/config/web.php, add:

'components' => [
    'arubasms' => require(__DIR__ . '/arubasms.php'),

Now, add a configuration file named app/config/arubasms.php, and add:

use d4rkstar\kannel\HttpSms;

return [


Now, anywhere in your application, you can send an SMS:

    // sample code here