andreylis/zf2-sms-adapters

v1.0.9.4 2014-04-24 12:34 UTC

README

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