2017 © Pedro Peláez
 

library route-sms-php

Route SMS PHP Library

image

sirolad/route-sms-php

Route SMS PHP Library

  • Thursday, May 3, 2018
  • by sirolad
  • Repository
  • 1 Watchers
  • 2 Stars
  • 170 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 17 Versions
  • 6 % Grown

The README.md

RouteSMS PHP Library

A modular PHP library for interacting with RouteSMS., (*1)

Installation

You will need composer in other to use this library. Head over to Composer to get started., (*2)

composer require sirolad/route-sms-php
Usage
use Sirolad\RouteSMS;

$sms = new RouteSMS($username, $password);

$result = $sms->send($sender, $recipient, $message, $type=0, $dlr=1);

return $result; //[{"status":"1701","recipient":"2348037XXXXXX","messageId":"fbf2f6bc-b708-4895-867b-3418cf62031d"}]

for Bulk sms it returns
[{"status":"1701","recipient":"2348037690966","messageId":"fbf2f6bc-b708-4895-867b-3418cf62031d"},{"status":"1702","recipient":"2348037690966","messageId":"fbf2f6bc-b708-4895-867b-3418cf62031d"},{"status":"1703","recipient":"2348037690966","messageId":"fbf2f6bc-b708-4895-867b-3418cf62031d"}]

If message is successful, you will get a success response else an exception will be thrown., (*3)

$type: Indicates the type of message. Values for "type":- 0: Plain Text (GSM 3.38 Character encoding) 1: Flash Message (GSM 3.38 Character encoding) 2: Unicode 3: Reserved 4: WAP Push 5: Plain Text (ISO-8859-1 Character encoding) 6: Unicode Flash 7: Flash Message (ISO-8859-1 Character encoding), (*4)

$dlr: Indicates whether the client wants delivery report for this message Range of values for "dlr":- 0: No Delivery report required 1: Delivery report required, (*5)

$sender: The source address that should appear in the message Max Length of 18 if Only Numeric Max Length of 11 if Alpha numeric If you wish plus ('+') should be prefixed to the sender address when the message is displayed on the cell phone, please prefix the plus sign to your sender address while submitting the message (note the plus sign should be URL encoded). Additional restrictions on this field may be enforced by the SMSC., (*6)

For more information please consult the RouteSMS guide, (*7)

The Versions

03/05 2018

dev-master

9999999-dev

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande

03/05 2018

1.5.2

1.5.2.0

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande

03/05 2018

1.5.1

1.5.1.0

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande

28/04 2018

1.5

1.5.0.0

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande

12/04 2018

1.4

1.4.0.0

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande

05/04 2018

1.3.1

1.3.1.0

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande

05/04 2018

1.3

1.3.0.0

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande

03/02 2018

1.2

1.2.0.0

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande

28/01 2018

1.1.1

1.1.1.0

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande

20/12 2017

1.1.0

1.1.0.0

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande

20/12 2017

1.0.6

1.0.6.0

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande

20/12 2017

1.0.5

1.0.5.0

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande

24/11 2017

1.0.4

1.0.4.0

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande

22/11 2017

1.0.3

1.0.3.0

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande

22/11 2017

1.0.2

1.0.2.0

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande

22/11 2017

1.0.1

1.0.1.0

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande

22/11 2017

1.0

1.0.0.0

Route SMS PHP Library

  Sources   Download

MIT

The Requires

 

by Surajudeen Akande