salymmbise/mambosms
最新稳定版本:v1.1.0
Composer 安装命令:
composer require salymmbise/mambosms
包简介
A PHP library for sending SMS
README 文档
README
A lightweight PHP library for sending SMS via Bearer Token authenticated API.
📦 Installation
composer require salymmbise/mambosms
🚀 Usage
✅ Option 1: Pass them when you instantiate the class (RECOMMENDED)
This is simple and flexible. You initialize the MamboSMS client like this:
use SalymMbise\MamboSMS\MamboSMS; $sms = new MamboSMS('https://api.example.com', 'your_bearer_token'); // Then use it normally $sms->sendSingleSMS('MYSENDERID', 'Hello!', '0713123456');
📤 Features
🔹 Send Single SMS
$response = $sms->sendSingleSMS('MYSENDERID', 'Hello world', '0713123456');
🔹 Send Bulk SMS
$response = $sms->sendBulkSMS('MYSENDERID', '07123456789,0712345678');
🔹 Check SMS Balance
$response = $sms->checkBalance();
🛠 Requirements
PHP 7.4 or higher
cURL enabled
📃 License
MIT License © Salym Mbise
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-08-08