2017 © Pedro Peláez
 

library dynmark

Send SMS using Dynmark - http://www.dynmark.com/

image

ianchadwick/dynmark

Send SMS using Dynmark - http://www.dynmark.com/

  • Thursday, August 25, 2016
  • by ianchadwick
  • Repository
  • 2 Watchers
  • 0 Stars
  • 54 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Dynmark PHP API

Dynmark are leading providers of SMS and SMS intelligence services allowing you to make your SMS messaging smart., (*1)

This package allows you to send text messages using their API.See website, (*2)

Requirements

PHP 5.4+, (*3)

Installation using Composer

Add ianchadwick/dynmark to the require part of your composer.json file, (*4)

"require": {
  "ianchadwick/dynmark": "dev-master"
}

Then update your project with composer, (*5)

composer update

Basic Usage

use Dynmark\Dynmark;
use Dynmark\Commands\Sms\Send;

class MyClass {
  public function sendSms()
  {
    // init the Dynmark helper
    $dynmark = new Dynmark('myusername', 'mypassword');

    // create the command
    $command = new Send($dynmark);

    // set the text details
    $command->setFrom('Ian')
        ->setPhone('0770000000')
        ->setText('Hello there!');

    // send the text
    $response = $command->fire();
  }
}

The Versions

25/08 2016

dev-master

9999999-dev https://github.com/ianchadwick/dynmark

Send SMS using Dynmark - http://www.dynmark.com/

  Sources   Download

MIT

The Requires

 

by Ian Chadwick

api sms