weboxlt/lutex-api-v1-php-sdk
Composer 安装命令:
composer require weboxlt/lutex-api-v1-php-sdk
包简介
lutex API v1 PHP
README 文档
README
Getting started
In order to use this library you need to have at least PHP 5.5 version. You can use it for lutex.lt API.
There are two ways to use lutex PHP SDK:
Use Composer
If you are not familiar with Composer, learn about it here.
Then you will need to run this simple command using CLI:
composer require weboxlt/lutex-api-v1-php-sdk
Manual
Download this archive, extract it and place its contents in your project. The next step is the same as using Composer, you will need to require vendor/autoload.php file in your index.php!
1. Usage example to send SMS message
$smsClient = new eSMS\SmsClient('YOUR_USERNAME', 'YOUR_PASSWORD'); try { $smsHandler = $smsClient->sms(); $smsHandler->setFrom('YOUR NAME'); $smsHandler->addRecipient('RECIPIENT_NUMBER_1'); $smsHandler->addRecipient('RECIPIENT_NUMBER_2'); $smsHandler->setMessage('Hello world!'); $data = $smsHandler->sendSimpleSMS(); $smsHandler->destroy(); } catch (\Exception $e) { print( $e->getMessage()); }
2. Usage example to receive logs
SMS logs are available for the last 48 hours!
$smsClient = new eSMS\SmsClient('YOUR_USERNAME', 'YOUR_PASSWORD'); try { $logsHandler = $smsClient->logs(); $logsHandler->setLimit(10); $logsHandler->setMessageId('MESSAGE_ID'); $logsHandler->setBulkId('BULK_ID'); $logsHandler->setTo('PHONE_NUMBER'); $logsHandler->setFrom('SENT_FROM'); $logsHandler->setSentSince('2022-12-21'); $logsHandler->setSentUntil('2022-12-25'); $logsHandler->setGeneralStatus($logsHandler::STATUS_EXPIRED); $data = $logsHandler->get(); } catch (\Exception $e) { print( $e->getMessage()); }
Support and Feeback
In case you find any bugs, submit an issue directly here in GitHub.
weboxlt/lutex-api-v1-php-sdk 适用场景与选型建议
weboxlt/lutex-api-v1-php-sdk 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 468 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 10 月 01 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「esms」 「lutex」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 weboxlt/lutex-api-v1-php-sdk 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 weboxlt/lutex-api-v1-php-sdk 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 weboxlt/lutex-api-v1-php-sdk 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
🚀 Enterprise-ready Laravel SMS package supporting 8+ providers including Bangladeshi (DhorolaSMS, BulkSMSBD, MimSMS, eSMS, REVE SMS, Alpha SMS) & international gateways (Twilio, Nexmo). Features automatic fallback, queue integration, activity tracking, balance checking, and fluent API for production
Api client of an ESMS service
Extension hổ trợ tích hợp dịch vụ eSMS.
Laravel Package for esms.com.bd
统计信息
- 总下载量: 468
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-10-01