Send SMS with Notify.lk
- API version: v1
- Package version: 1.0
- Build package: class io.swagger.codegen.languages.PhpClientCodegen
PHP 5.4.0 and later
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/notifylk/notify-php.git"
}
],
"require": {
"notifylk/notify-php": "*@dev"
}
}
Then run composer install
Download the files and include autoload.php
:
require_once('/path/to/NotifyLk/autoload.php');
To run the unit tests:
composer install
./vendor/bin/phpunit
All URIs are relative to https://app.notify.lk/api/v1
Class | Method | HTTP request | Description |
---|---|---|---|
SmsApi | sendSMS | POST /send | Sending SMS to a number from specified sender ID |