ultrapraise/lara-termii
Composer 安装命令:
composer require ultrapraise/lara-termii
包简介
A Laravel Package for Termii - https://www.termii.com
关键字:
README 文档
README
Termii Laravel Package
Lara-Termii helps you Set up, test, and manage your Termii integration directly in your Laravel App.
Installation
You can install the package via composer:
composer require ultrapraise/lara-termii
Usage:
Declare Instance of Class
- Example
$termii = new \Zeevx\LaraTermii\LaraTermii("YOUR-TERMII-API-KEY");
Check your balance on Termii
- You can check your termii balance.
- Run
$termii->balance()
Reports for messages sent across the sms, voice & whatsapp channels
- You can check reports for messages sent across the sms, voice & whatsapp channels.
- Run
$termii->history()
Detect if a number is fake or has ported to a new network
- You can check if a number is fake or has ported to a new network.
- Run
$termii->status(int $phone_number, string $country_code)and pass appropriate params
Verify phone numbers and automatically detect their status
- You can verify phone numbers and automatically detect their status.
- Run
$termii->search(int $phone_number)and pass appropriate params
Retrieve the status of all registered sender ID
- You can retrieve the status of all registered sender ID.
- Run
$termii->allSenderId()
Request a new sender ID
- You can request a new sender ID.
- Run
$termii->submitSenderId(string $sender_id, string $use_case, string $company)and pass appropriate params
Send Message
- You can a message.
- Run
$termii->sendMessage(int $to, string $from, string $sms, string $channel = "generic", bool $media = false, string $media_url = null, string $media_caption = null)and pass appropriate params
Send OTP
- You can send OTP
- Run
$termii->sendOTP(int $to, string $from, string $message_type, int $pin_attempts, int $pin_time_to_live, int $pin_length, string $pin_placeholder, string $message_text, string $channel = "generic")and pass appropriate params
Send Voice OTP
- You can send OTP
- Run
$termii->sendVoiceOTP(int $to, int $pin_attempts, int $pin_time_to_live, int $pin_length)and pass appropriate params
Send Voice Call
- You can send OTP
- Run
$termii->sendVoiceCall(int $to, int $code)and pass appropriate params
OTP Validation
- You can verify or validate OTP
- Run
$termii->verifyOTP(string $pinId, string $pin)pass appropriate params
Send In-App OTP
- You can send In-App OTP
- Run
$termii->sendInAppOTP(int $to, int $pin_attempts, int $pin_time_to_live, int $pin_length, string $pin_type)and pass appropriate params
Security
If you discover any security related issues, please email adamsohiani@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
ultrapraise/lara-termii 适用场景与选型建议
ultrapraise/lara-termii 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 03 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「zeevx」 「lara-termii」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ultrapraise/lara-termii 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ultrapraise/lara-termii 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ultrapraise/lara-termii 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A modern Laravel package for the Termii messaging & OTP API - https://www.termii.com
A Laravel Package for Termii - https://www.termii.com
A Laravel Package for Termii SMS - https://www.termii.com
A Laravel Package for OvalFi - https://dev.ovalfi-app.com/
A Laravel Package for LazerPay Finance - https://lazerpay.finance
A SendByte mail transport for Laravel - send mail through https://sendbyte.africa with Laravel's native mail system
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-03-12