承接 codecamplao/telbiz 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

codecamplao/telbiz

Composer 安装命令:

composer require codecamplao/telbiz

包简介

Services about Telecom

README 文档

README

Installation

Begin by installing this package through Composer. Just run following command to terminal-

composer require codecamplao/telbiz

You can also edit your project's composer.json file to require codecamplao/telbiz.

"require": {
    "codecamplao/telbiz": "^1.0"
}

Next, update Composer from the Terminal:

composer update

Once this operation completes, the final step is to add the service provider. Open config/app.php, and add a new item to the providers array.

'providers' => [
    // ...
    CodeCampLAO\TelBiz\TelBizServiceProvider::class,
]

Next, Add more config on environment file. Open .env, and add a new three config like below.

TELBIZ_BASE_URI=""
TELBIZ_CLIENT_ID=""
TELBIZ_CLIENT_SECRET=""

Example to use

protected $telbiz_sms;
public function __construct()
{
    $this->telbiz_sms = new TelBizSMS();
}

public function index(): Response
{
    return $this->telbiz_sms->sendSmsService(TitleEnum::Default, '20xxxxxxxx', 'Hello Telbiz');
}

Example response:

{
    "response": {
        "code": "SUCCESS_OPERATION",
        "message": "Success",
        "success": true,
        "detail": "Success"
    },
    "key": {
        "partitionKey": "16512253832870000",
        "rangeKey": "16538405678928228"
    }
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-05-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固