2017 © Pedro Peláez
 

library ucpaas-sms

ucpaas sms 云之讯短信

image

hardywen/ucpaas-sms

ucpaas sms 云之讯短信

  • Tuesday, February 16, 2016
  • by HardyWen
  • Repository
  • 2 Watchers
  • 1 Stars
  • 520 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

建议使用: https://github.com/toplan/laravel-sms

ucpaas-sms

云之讯 短信Api, (*1)

Laravel 4

安装

在composer.json 添加, (*2)

hardywen/ucpaas-sms: 'v1.0'

运行 composer update, (*3)

app/config/app.php的providers数组里加入, (*4)

'Hardywen\UcpaasSms\UcpaasSmsServiceProvider',

aliases 数组里加入, (*5)

'UcpaasSms' =>'Hardywen\UcpaasSms\Facade\UcpaasSms',

运行, (*6)

artisan config:publish hardywen/ucpaas-sms

app/config/packages/hardywen/ucpaas-sms/config.php 配置, (*7)

使用

发送手机短信, (*8)

UcpaasSms::templateSMS('9635', '123456,3', '138xxxxxx')

发送语音验证码, (*9)

UcpaasSms::voiceCode('123123','138xxxx')

Laravel 5

安装

在composer.json 添加, (*10)

hardywen/ucpaas-sms: 'v2.0'

运行 composer update, (*11)

config/app.php的providers数组里加入, (*12)

Hardywen\UcpaasSms\UcpaasSmsServiceProvider::class,

aliases 数组里加入, (*13)

'UcpaasSms' => Hardywen\UcpaasSms\Facade\UcpaasSms:class,

运行, (*14)

php artisan vendor:publish

app/config/packages/hardywen/ucpaas-sms/config.php 配置, (*15)

使用

发送手机短信, (*16)

UcpaasSms::templateSMS('9635', '123456,3', '138xxxxxx')

发送语音验证码, (*17)

UcpaasSms::voiceCode('123123','138xxxx')

云通讯版本

hardywen/ucpaas-sms: 'yuntongxun-v1.0'

The Versions

16/02 2016

dev-master

9999999-dev

ucpaas sms 云之讯短信

  Sources   Download

MIT

The Requires

 

by Avatar HardyWen

laravel laravel5 sms ucpaas php

29/09 2015

v2.0

2.0.0.0

ucpaas sms 云之讯短信

  Sources   Download

MIT

The Requires

 

by Avatar HardyWen

laravel laravel5 sms ucpaas php

13/07 2015

v1.0

1.0.0.0

ucpaas sms 云之讯短信

  Sources   Download

MIT

The Requires

 

by Avatar HardyWen

laravel laravel4 sms ucpaas php