ahmed-aliraqi/mobilysms
Composer 安装命令:
composer require ahmed-aliraqi/mobilysms
包简介
A SMS Package for mobilysms
README 文档
README
i'ts easy step .
1 - install with composer
composer require ahmed-aliraqi/mobilysms
2 - add provider class to app.php in config folder .
Mobilysms\MobilySmsProvider::class,
3 - add aliases class
'Mobily' => Mobilysms\Mobily::class,
4 - then call this command from composer.
php artisan vendor:publish
5 - just call method
Mobily::send(20123456789,'Your Message Here ');
you can get this file from this path on your project config/mobilysms.php
and you can edit information account with mobily.ws sender name and mobile or user account and password you can edit more information if you want ! like timesend or datasend bla bla bla i'ts easy :)
return [ 'sender' =>'Ahmed', // Sender Name With Mobily.ws 'mobile' =>'123456789', // Mobile User Account With Mobily.ws 'password'=>'password here', // Password Account With Mobile.ws 'timeSend'=>0, // If You Don't know what this please don't change anything 'dateSend'=>0, // If You Don't know what this please don't change anything 'deleteKey'=>152485, // If You Don't know what this please don't change anything 'resultType'=>1, // If You Don't know what this please don't change anything 'viewResult'=>1, // If You Don't know what this please don't change anything 'MsgID'=>rand(0000,9999), // If You Don't know what this please don't change anything ];
and you can use Mobily Class On Your Controller I'ts Easy
##Configuration
You Can Edit File Language With defualt Locale folder and You Can Put your information to file mobilysms.php in config folder
If I got a problem you will know how to solve it
if you want check message sent i'ts easy the package was returned result true not a string
$send = Mobily::send(123456789,'message'); if($send == true) { echo 'message sent'; }else{ echo $send; }
ahmed-aliraqi/mobilysms 适用场景与选型建议
ahmed-aliraqi/mobilysms 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 67 次下载、GitHub Stars 达 0, 最近一次更新时间为 2017 年 05 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「lumen」 「mobilysms」 「mobily.ws」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ahmed-aliraqi/mobilysms 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ahmed-aliraqi/mobilysms 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ahmed-aliraqi/mobilysms 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Testing Suite For Lumen like Laravel does.
Stackdriver handler for Monolog (codeinternetapplications/monolog-stackdriver Fork).
Class to generate a standard structure for api json responses
Amqp classes
Audit changes of your Eloquent models in Laravel/Lumen
Laravel, Lumen and Native php elasticseach query builder to build complex queries using an elegant syntax
统计信息
- 总下载量: 67
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-05-09