/zf2-sms-adapters

SMS sending module with adapters for ZF2

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

zf2-sms-adapters

ZF2 module for sending SMSes with queue storage via Doctrine and zf2 console controller for processing them via adapters

Installation via Composer

{
    "require": {
        "andreylis/zf2-sms-adapters": "1.*"
    }
}

Code sample for direct sms sending:

$SMSSender->sendSMS("375297357355", "Hello, Brother", false);

Code sample for adding SMS to Doctrine queue:

$SMSSender->sendSMS("375297357355", "Hello, Brother");

Console command for adding to Cron

php public/index.php smssender send