2017 © Pedro Peláez
 

library hoiio-sms

image

kalahe/hoiio-sms

  • Tuesday, October 24, 2017
  • by nadeeravista
  • Repository
  • 0 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 14 % Grown

The README.md

Laravel package for Hoiio SMS

Installing

Installation using composer:, (*1)

composer require "kalahe/hoiio-sms 2.1"

And add the service provider in config/app.php:, (*2)

Kalahe\HoiioSms\HoiioSmsServiceProvider::class,

Testging sms

// E.g. Sending SMS
require 'hoiio-php/Services/HoiioService.php';

$h = new HoiioService("myAppID", "myAccessToken");
$txnRef = $h->sms("+651111111", "hello world");
print("SMS sent successfully. TxnRef: $txnRef\n");

// E.g. Building IVR
require 'hoiio-php/Services/HoiioService.php';

$h = new HoiioService("myAppID", "myAccessToken");
$notify = $h->parseIVRNotify($_POST);
$session = $notify->getSession();
$key = $notify->getDigits();

$h->ivrPlay($session, '', "You just pressed $key.");

License

This project is licensed under the MIT License - see the MIT License. file for details, (*3)

Built With

The Versions

24/10 2017

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

  • php >=5.1.0

 

by Kalahe Pathirana

24/10 2017

2.1

2.1.0.0

  Sources   Download

MIT

The Requires

  • php >=5.1.0

 

by Kalahe Pathirana

24/10 2017

1.0

1.0.0.0

  Sources   Download

MIT

The Requires

  • php >=5.1.0

 

by Kalahe Pathirana

24/10 2017

2

2.0.0.0

  Sources   Download

MIT

The Requires

  • php >=5.1.0

 

by Kalahe Pathirana

24/10 2017

0.0.1

0.0.1.0

  Sources   Download

MIT

The Requires

  • php >=5.1.0

 

by Kalahe Pathirana

24/10 2017

1

1.0.0.0

  Sources   Download

MIT

The Requires

  • php >=5.1.0

 

by Kalahe Pathirana