2017 © Pedro Peláez
 

library sms-zilla

PHP library for sending SMS through various gateways

image

orajo/sms-zilla

PHP library for sending SMS through various gateways

  • Sunday, August 27, 2017
  • by Orajo
  • Repository
  • 1 Watchers
  • 0 Stars
  • 405 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 3 Open issues
  • 8 Versions
  • 10 % Grown

The README.md

SmsZilla

Latest Stable Version License, (*1)

PHP library for sending SMS messages using various gateways. It's simple but flexible. Allows sending for more than one recipient at a time., (*2)

Currently supported gateways: * SMSApi.pl, * SmsCenter.pl, * SerwerSms.pl, * Infobip.com * Clickatell * SmsPlanet.pl * HostedSMS.pl * SzybkiSMS * Orange SMSOffnetNat * Cisco EHWIC and 880G for 3.7G (HSPA+)/3.5G (HSPA) device, * text files generator (for gateways which monitor shared folder, * mock (dummy gateway for testing), (*3)

The library can be easily extended to support new gateways or integrated into your application, such as filtering of recipients based on consent to receiving SMS messages., (*4)

======, (*5)

Installation

use composer, (*6)

{
    "require": {
        "orajo/sms-zilla": "1.*"
    }
}

or, (*7)

php composer.phar require orajo/sms-zilla

Usage

$smsSender = new SmsZilla\SmsSender(new SmsZilla\Adapter\MockAdapter());

// default validator supports Polish numbers (PL) without country code
// others must be given with + (plus) sign and country code
// adding one recipient
$smsSender->setRecipient('605123456');
// adding more recipients (with and without country code)
$smsSender->setRecipient(['511654321', '48511654987', '+41751654987']);

// Add recipient from other then default country.
// If region is changed then country code (+41) can be ommited.
$smsSender->getValidator()->setDefaultRegion('CH');
$smsSender->setRecipient('987654321');

$smsSender->setText("Message text");
$result = $smsSender->send();

See tests for more examples., (*8)

See https://github.com/Orajo/zf-sms-zilla if you need Laminas module for sending SMS. The module is based on this library., (*9)

Author

Jaroslaw Wasilewski orajo@windowslive.com., (*10)

License

MIT, (*11)

The Versions

27/08 2017

dev-master

9999999-dev https://github.com/Orajo/sms-zilla

PHP library for sending SMS through various gateways

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jarosław Wasilewski

library sms clickatell cisco smsapi infobip smscenter serwersms

12/03 2017

v1.5.0

1.5.0.0 https://github.com/Orajo/sms-zilla

PHP library for sending SMS through various gateways

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jarosław Wasilewski

library sms clickatell cisco smsapi infobip smscenter serwersms

12/09 2016

v1.4.1

1.4.1.0 https://github.com/Orajo/sms-zilla

PHP library for sending SMS through various gateways

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jarosław Wasilewski

library sms

12/09 2016

v1.4.0

1.4.0.0 https://github.com/Orajo/sms-zilla

PHP library for sending SMS through various gateways

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jarosław Wasilewski

library sms

20/08 2016

v1.3.0

1.3.0.0 https://github.com/Orajo/sms-zilla

PHP library for sending SMS through various gateways

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jarosław Wasilewski

library sms

12/08 2016

v1.2.0

1.2.0.0 https://github.com/Orajo/sms-zilla

PHP library for sending SMS through various gateways

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jarosław Wasilewski

sms lilbrary

08/08 2016

1.1.0

1.1.0.0 https://github.com/Orajo/sms-zilla

PHP library for sending SMS through various gateways

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jarosław Wasilewski

sms lilbrary

06/08 2016

1.0

1.0.0.0

PHP library for sending SMS through various gateways

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jarosław Wasilewski