定制 epmnzava/telerivet 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

epmnzava/telerivet

Composer 安装命令:

composer require epmnzava/telerivet

包简介

Telerivet https://telerivet.com wrapper for laravel

README 文档

README

This package helps you to easily get started with integrating with Telerivet service via API made for laravel developers

Latest Version on Packagist Build Status Quality Score Total Downloads

Installation

You can install the package via composer:

composer require epmnzava/telerivet

Update your config (for Laravel 5.4 and below)

Add the service provider to the providers array in config/app.php:

Epmnzava\Telerivet\TelerivetServiceProvider::class,

Add the facade to the aliases array in config/app.php:

'Sms' =>Epmnzava\Telerivet\TelerivetFacade,

Publish the package configuration (for Laravel 5.4 and below)

Publish the configuration file and migrations by running the provided console command:

php artisan vendor:publish --provider="Epmnzava\Telerivet\TelerivetServiceProvider" --tag="config"

Environmental Variables

  • TELERIVET_API_ID your provided telerivet project id

  • TELERIVET_API_KEY your provided telerivet application key

  • TELERIVET_WEB_HOOK COMING SOON

Usage

Sending sms

// coming soon ...

<?php
use Epmnzava\Telerivet\Telerivet;

class SendNotification extends Controller
{
    
public function send_sms(){

       $sms=new Telerivet;

       $result=$sms->send_sms("+255679079774","This is a hellow world text");
       
       

       echo json_encode($result);


}

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email epmnzava@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固