cloudwal/laravel-infobip-sms 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

cloudwal/laravel-infobip-sms

Composer 安装命令:

composer require cloudwal/laravel-infobip-sms

包简介

Sends SMS messages through the InfoBip V3 Api

README 文档

README

Latest Version on Packagist run-tests Total Downloads

This is a very simple package to send sms messages through the InfoBip API.

Installation

You can install the package via composer:

composer require cloudwal/laravel-infobip-sms

You can publish the config file with:

php artisan vendor:publish --tag="laravel-infobip-sms-config"

This is the contents of the published config file:

return [
   'debug' => env('INFOBIP_DEBUG', true),
    'sender' => env('INFOBIP_SENDER', 'Laravel'),
    'from' => env('INFOBIP_FROM_NUMBER', '0123456789'),
    'username' => env('INFOBIP_USERNAME', 'user'),
    'password' => env('INFOBIP_PASSWORD', '123456'),
    'host' => env('INFOBIP_HOST', 'https://test.api.infobip.com'),
];

Usage

use CloudWales\LaravelInfobitSms\LaravelInfobipSms;

$response = new LaravelInfobipSms();

// Send an SMS
return $response->sendSms(['0123456789', '12345678901'], 'Test SMS message');

// Send WhatsApp Message
return $response->sendWhatsApp('0123456789', 'Test WhatsApp message');

// Get the delivery report of the message
return $response->getMessageReport($response['bulkId']);

Testing

composer test

Upcoming

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固