ianchadwick/dynmark 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ianchadwick/dynmark

Composer 安装命令:

composer require ianchadwick/dynmark

包简介

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

关键字:

README 文档

README

Dynmark are leading providers of SMS and SMS intelligence services allowing you to make your SMS messaging smart.

This package allows you to send text messages using their API.See website

Requirements

PHP 5.4+

Installation using Composer

Add ianchadwick/dynmark to the require part of your composer.json file

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

Then update your project with composer

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();
  }
}

统计信息

  • 总下载量: 60
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-22