mdmasudsikdar71/geezsms-php-client
最新稳定版本:1.1.0
Composer 安装命令:
composer require mdmasudsikdar71/geezsms-php-client
包简介
PHP client for Geez SMS Gateway
README 文档
README
GeezSMS PHP Client is a PHP library for interacting with the GeezSMS API. It provides an easy-to-use interface for sending OTP, SMS, and bulk SMS messages.
Installation
You can install the library using Composer:
composer require mdmasudsikdar71/geezsms-php-client
Usage
use MDMasudSikdar\Geezsms\GeezSmsClient; // Initialize the GeezSmsClient with your token $smsClient = new GeezSmsClient('TOKEN'); // Send an OTP to a phone number $response = $smsClient->sendOtp('2519XXXXXXXX'); // Send an SMS to a phone number with a message $response = $smsClient->sendSms('2519XXXXXXXX', 'Hello, this is a test message.'); // Send bulk SMS to multiple phone numbers with a common message and notification URL $phones = ['2519XXXXXXXX', '2519XXXXXXXX']; $response = $smsClient->sendBulk($phones, 'Hello, this is a bulk message.', 'https://example.com/notify');
Documentation
For more details and advanced usage, please refer to the official GeezSMS API documentation.
Security
If you discover any security-related issues, please email masudsikdar85@gmail.com instead of using the issue tracker.
License
This library is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2024-02-28