定制 alaaelsaid/laravel-sms-helper 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

alaaelsaid/laravel-sms-helper

最新稳定版本:1.4.2

Composer 安装命令:

composer require alaaelsaid/laravel-sms-helper

包简介

Sms helper

关键字:

README 文档

README

Laravel SMS Helper

Installation

You can install the package via Composer.

composer require alaaelsaid/laravel-sms-helper

Publishing

After install publish file config

php artisan vendor:publish --tag="sms"

Command

You Can change sms current status with this command by [ on, off ] or get the current status

php artisan sms:current
php artisan sms:current off

Env

In the .env file you can add those keys:

SMS_PROVIDER=four_jawaly
SMS_PROVIDER_STATUS=false
SMS_CODE_DYNAMIC=false
SMS_DEFAULT_CODE=1111

Available SMS Providers

Malath - Hisms - Four Jawaly - Unifonic - Yamamah

Usage

use Alaaelsaid\LaravelSmsHelper\Facade\Sms;

// to send single phone number;
Sms::send('+201007153686', "hello world");

// to send multi phone numbers;
Sms::send(['+201007153686'], "hello world");

// to send single phone number && code is optional;
Sms::sendWithCode(['+201007153686'], '1111');

统计信息

  • 总下载量: 68
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-09-22