2017 © Pedro Peláez
 

library junengwan

剧能玩

image

sn01615/junengwan

剧能玩

  • Tuesday, January 23, 2018
  • by sn01615
  • Repository
  • 1 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 54 % Grown

The README.md

应用场景

  1. 云片短信

Install

composer require sn01615/yunpian

Usage

use Yunpian\Yumpian;

$text = "【某某有限公司】您的验证码是#code#";
$text = str_replace('#code#', $code, $text);

$apikey = $_SERVER['CONFIGYUNPIAN'];

$sender = new Yunpian();
$sender->setApiKey($apikey);
$sender->setCurlOpt(
    [
        CURLOPT_CAINFO => __DIR__ . '/../nlibraries/ca-bundle.crt'
    ]);
$result = $sender->singleSend($mobile, $text);

The Versions

23/01 2018

dev-master

9999999-dev

剧能玩

  Sources   Download

Apache-2.0

剧能玩

23/01 2018

v1.0

1.0.0.0

剧能玩

  Sources   Download

Apache-2.0

剧能玩