定制 sinarahmany/laravel-voipms 二次开发

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

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

sinarahmany/laravel-voipms

最新稳定版本:0.3.1

Composer 安装命令:

composer require sinarahmany/laravel-voipms

包简介

VOIP Ms API for Laravel

README 文档

README

Laravel Voip Ms API Integration - the perfect wingman for your Laravel project to connect with your VoIP Ms crush!

Total Downloads Latest Stable Version License

Installation

Begin by installing this package through Composer. Run this command from the Terminal:

  composer require sinarahmany/laravel-voipms
  php artisan vendor:publish --provider="Sinarahmany\LaravelVoipMs\VoipMsServiceProvider"

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

VOIPMS_API_URL=https://voip.ms/api/v1/rest.php

VOIPMS_USERNAME={YOUR_USERNAME}

VOIPMS_PASSWORD={YOUR_PASSWORD}

VOIPMS_DID={YOUR_DID}

Usage

First, include the Facade class at the top of your file:

use Sinarahmany\LaravelVoipMs\VoipMs;

To send an SMS message to a destination number, use the sendSMS method:

VoipMs::sendSMS($yourNumber, $yourText);

To send an MMS message to a destination number, use the sendMMS method:

VoipMs::sendMMS($yourNumber, $yourText, $imageurl (optional));
// Note: $imageUrl is optional.

To retrieve a list of SMS messages by date range, SMS type, DID number, and contact, use the getSMS method:

VoipMs::getSMS(['id' => $smsId, 'from' => $fromDate, 'to' => $toDate, 'type' => $smsType, 'contact' => $contactNumber, 'limit' => $limit]);
// Note: passed params are optional.

Note for Developers:

This is a development package and may be subject to frequent changes and updates as development continues. It is recommended that you regularly check for updates and incorporate any changes as needed.

Thank you for using this development package, and happy coding!

Feedback

If you have any feedback, please reach out to us at sinarahmannejad.com.

Credits

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固