mohsenbostan/ghasedak-sms
Composer 安装命令:
composer require mohsenbostan/ghasedak-sms
包简介
Ghasedak SMS service package for laravel.
README 文档
README
Ghasedak SMS
Ghasedak SMS Service Package For Laravel.
This package makes sending SMS simply via Ghasedak.io SMS Service.
Important: This Package Requires Laravel 7 Or Newer!
To install package just do this few steps:
1 - Run the command below to install it in your Laravel application:
composer require mohsenbostan/ghasedak-sms
2 - Run this command and publish config file:
php artisan vendor:publish --tag=config
3 - Add this to your .env file and replace defaults:
GHASEDAK_API_KEY="${GHASEDAK_API_KEY}" GHASEDAK_LINE_NUMBER="${GHASEDAK_LINE_NUMBER}" GHASEDAK_LINE_NUMBERS="${GHASEDAK_LINE_NUMBERS}"
Usage
- You can send Simple Single SMS like example:
use MohsenBostan\GhasedakSms; $sms = GhasedakSms::sendSingleSMS($message, $receptor); return $sms;
- You can send SMS to multiple receptors with multiple line numbers like example:
use MohsenBostan\GhasedakSms; $sms = GhasedakSms::sendType1MultipleSMS($message, $receptors); return $sms;
- You can send SMS to multiple receptors with one line number like example:
use MohsenBostan\GhasedakSms; $sms = GhasedakSms::sendType2MultipleSMS($message, $receptors); return $sms;
- You can send Voice Message like example:
use MohsenBostan\GhasedakSms; $sms = GhasedakSms::sendVoiceMessage($message, $receptors); return $sms;
Usage Warnings :
- All data that you pass, Should be in string!
- Line number(s) should stored in .env . ( Installation Guide 3)
- When you use sendMultipleSMS, you should separate numbers by comma " , ". For example : " 09120000000,09180000000,09010000000 "
Contact Developer
You Can Contact Me Via This Information:
- Email: mohsenbostandev@gmail.com
- Telegram: @mohsenbostan
- Instagram: @mohsenbostan.ir
mohsenbostan/ghasedak-sms 适用场景与选型建议
mohsenbostan/ghasedak-sms 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 272 次下载、GitHub Stars 达 12, 最近一次更新时间为 2020 年 03 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 mohsenbostan/ghasedak-sms 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 mohsenbostan/ghasedak-sms 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 272
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 13
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-03-08