rbt/yii2-rbtsms

RBT SMS Component

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:yii2-extension

pkg:composer/rbt/yii2-rbtsms

1.1.0 2017-09-06 12:31 UTC

This package is not auto-updated.

Last update: 2025-10-26 08:48:43 UTC


README

RBT SMS Component

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist rbt/yii2-rbtsms "*"

or add

"rbt/yii2-rbtsms": "*"

to the require section of your composer.json file.

Configuration

To use this extension, you have to configure the Connection class in your application configuration:

return [ //.... 'components' => [ 'sms' => [ 'class' => '\rbt\sms\Sms', 'APIKEY' => 'apikey', 'SENDER_NAME' => 'sms sender name', 'SMS_URL'=>'sms service url' ], ] ];

Usage

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

<?= \rbt\sms\Sms::SmsSend($phone_number,$message); ?>```