smsalert-mobi/smsalert-php
最新稳定版本:2.0.1
Composer 安装命令:
composer require smsalert-mobi/smsalert-php
包简介
PHP integration for SMSAlert.mobi API SMS Gateway
README 文档
README
About
This is the official SMSAlert implementation for PHP. Our unified API allows you to send:
- SMS messages via GSM, Mobile app or short number
- Whatsapp business API
- Push notifications via Alertisimo
Our internal rule sistem with AI allows you to make the best decision of how a message is sent.
Documentation
The documentation for the SMSAlert API can be found here.
The PHP library documentation can be found here.
This library supports the following PHP implementations:
- PHP ^8.1
Installation
You can install smsalert-phpp via composer or by downloading the source.
Via Composer:
smsalert-php is available on Packagist as the
smsalert-mobi/smsalert-php package:
composer require smsalert-mobi/smsalert-php
Quickstart
Send an SMS
// Send an SMS using SMSAlert's REST API and PHP <?php $username = "demo"; // Your account username $apiKey = "api_key_here"; // Your account apiKey from https://smsalert.mobi/settings $client = new SmsAlert\SmsClient($username, $apiKey); $messageId = $client->sendMessage('0720123456', 'test api'); echo $messageId;
Getting help
If you need help installing or using the library, you can contact us at contact@smsalert.mobi If you've instead found a bug in the library or would like new features added, go ahead and open issues or pull requests against this repo!
统计信息
- 总下载量: 337
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-08