定制 shahidkarimi/bizsms 二次开发

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

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

shahidkarimi/bizsms

Composer 安装命令:

composer require shahidkarimi/bizsms

包简介

Send branded SMS to any Pakistani number

README 文档

README

How to install

To install follow these steps

1- Install composer install shahidkarimi/bizsms

2- Publish vendor php artisan vendor:publish

3- Change config config/bizsms.php with your bizsms.pk credentials

4- Make sure you have valid credentials purchased from https://bizsms.pk

Confgiure

1- Add this to config/app.php BizsmsServiceProvider::class

2- Add this alias bizsms => BizsmsServiceProvider::class

How to use?

1- By Global Function

bizsms::send('0346123456', 'SMS Body');

2- By adding SmsNotifiable Trait to User.php

The easiest way to send sms to a user is just using the SmsNotifiable Trait in user user class as

class User extends Authenticatable
{
    use SmsNotifiable;
}

Sending SMS $user->notifyBySms("Hello sir");

Want to contribute?

You are free to contribute in this reposity.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-02-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固