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

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

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

pnlinh/laravel-infobip-sms

最新稳定版本:v1.0.4

Composer 安装命令:

composer require pnlinh/laravel-infobip-sms

包简介

Infobip Sms Service in Laravel

README 文档

README

StyleCI Quality Score

Requirements

  • PHP >= 7.1
  • Laravel >= 5.5.*

Installation

Require this package with composer.

composer require pnlinh/laravel-infobip-sms

To publishes config config/infobip-sms.php, use command:

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

You set config in .env or config/infobip-sms.php

return [ 'from' => env('INFOBIP_FROM', 'Laravel'), 'username' => env('INFOBIP_USERNAME', 'user'), 'password' => env('INFOBIP_PASSWORD', '123456'), ];

Usage

// Send to one number use Pnlinh\InfobipSms\Facades\InfobipSms; $response = InfobipSms::send('84123456789', 'Hello Infobip'); // Send to multiple number $response = InfobipSms::send(['84123456789', '84987654321'], 'Hello Infobip'); // Use Helper Function $response = infobip_sms_send('84123456789', 'Hello Infobip'); // Get response array:2 [ 0 => 200 1 => {#362 +"messages": array:1 [ 0 => {#355 +"to": "84123456789" +"status": {#356 +"groupId": 1 +"groupName": "PENDING" +"id": 8 +"name": "PENDING_ENROUTE" +"description": "Message sent to next instance" } +"smsCount": 1 +"messageId": "2411455387981631234" } ] } ] $responseCode = $response[0]; $responseBody = $response[1];

Credits

For more info, please visit https://dev.infobip.com/send-sms/single-sms-message

统计信息

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

GitHub 信息

  • Stars: 9
  • Watchers: 0
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固