承接 karim007/boomcast-sms-laravel 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

karim007/boomcast-sms-laravel

最新稳定版本:v1.0.2

Composer 安装命令:

composer require karim007/boomcast-sms-laravel

包简介

This is for boomcast sms service for laravel

README 文档

README

Downloads Starts

Features

Requirements

  • PHP >=7.4
  • Laravel >= 6
  • illuminate/support >= 6
  • guzzlehttp/guzzle >= 7

Installation

composer require karim007/boomcast-sms-laravel

vendor publish (config)

php artisan vendor:publish --provider="Karim007\BoomcastSmsLaravel\BoomcastServiceProvider"

After publish config file setup your credential. you can see this in your config directory boomcast.php file

"masking"=> env("BOOMCAST_MASKING", ''),
"user_name"=> env("BOOMCAST_USER_NAME", ''),
"password"=> env("BOOMCAST_PASSWORD", ''),
"message_type"=> env("BOOMCAST_MESSAGE_TYPE", 'TEXT'),

Set .env configuration

BOOMCAST_MASKING='' #your masking name
BOOMCAST_USER_NAME=""
BOOMCAST_PASSWORD=""

Usage

1. create a controller

php artisan make:controller BoomCastSmsController

2. add this routes

Route::get('single/sms',[App\Http\Controllers\BoomCastSmsController::class,'singleSms'])->name('boomcast.sms');
Route::get('bulk/sms',[App\Http\Controllers\BoomCastSmsController::class,'bulkSms'])->name('boomcast.bulk.sms');

3. Sent Sms BoomCastSmsController

use Karim007\BoomcastSmsLaravel\Facade\BoomCastSms;
class BoomCastSmsController extends Controller
{
    public function singleSms()
    {
        return BoomCastSms::sentSms('01521XXXXXX','This is test sms');
    }

    public function bulkSms()
    {   
        //bulk sms maximum 20 phone number at a time
        return BoomCastSms::bulkSms(['01521XXXXXX','88012345678'],'This is test sms');
    }
}

Contributions to the Boomcast sms package you are welcome. Please note the following guidelines before submitting your pull request.

  • Follow PSR-4 coding standards.
  • Read Boomcast API documentations first. Please contact with Boomcast for their api documentation and sandbox access.

License

This repository is licensed under the MIT License.

Copyright 2022 md abdul karim. We are not affiliated with Boomcast and don't give any guarantee.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固