There is no license information available for the latest version (dev-develop) of this package.

Messente component for Yii 2 framework

dev-develop 2017-07-21 10:59 UTC

This package is auto-updated.

Last update: 2021-02-28 16:24:58 UTC


Yii component for sending text messages to messente. Before sending to messente, it also checks if phone number is valid for specified country and if phone type is mobile.

How to use?

##Installation with Composer Just add the line under require object in your composer.json file.

  "require": {
    "nuffic/yii2-messente" : "dev-develop"

then run

$> composer update

##Configuration Now add following in to your components section of config.

    'sms' => [
                'class'    => 'nuffic\messente\SMS',
                'username' => '<your API username>',
                'password' => '<your API password>',
                'from'     => '<default sender>' #optional


    Yii::$app->sms->send('EE', 'Content here', '+372 111 1111', 'SenderHere');