alirezaabdolmaleki/vip-sms 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

alirezaabdolmaleki/vip-sms

最新稳定版本:1.1.1

Composer 安装命令:

composer require alirezaabdolmaleki/vip-sms

包简介

A simple API extension for sending text messages via Vip Sms

README 文档

README

Vip Sms is a Laravel package that provides a convenient and easy-to-use way to send SMS messages. With this package, developers can quickly integrate SMS functionality into their Laravel applications. Whether it's sending notifications, alerts, or marketing messages, Vip Sms simplifies the process and allows for seamless communication with users via SMS.

Support Drivers

Raygan Sms

Mediana

Installation

with composer

  composer require alirezaabdolmaleki/vip-sms:1.1.1

Usage

//config/app.php


//providers
.
.
Alirezaabdolmaleki\VipSms\VipSmsServiceProvider::class,
.
.


//aliases
.
.
 'Sms' => Alirezaabdolmaleki\VipSms\Facades\VipSms::class
.
.

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

SMS_DRIVER

SMS_USERNAME

SMS_PASSWORD

SMS_SENDER_NUMBER

if you want to publish config

php artisan vendor:publish --provider=Alirezaabdolmaleki\VipSms\VipSmsServiceProvider

Documentation

Send Message

use Alirezaabdolmaleki\VipSms\Facades\Sms;

Sms::send("09123456789", "your message");

Send Message by Pattern (only mediana driver)

use Alirezaabdolmaleki\VipSms\Facades\Sms;

   $datas = [
        'variable1' => "test variable 1",
        'variable1' => 'test variable 2',
    ];
    
Sms::sendByPattern("09123456789", $datas, 'c207ascp17oglp8');

Related

Here are some related projects

Awesome README

🔗 Links

github linkedin

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-06-18