承接 thomasdseao/ovh_sms 相关项目开发

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

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

thomasdseao/ovh_sms

Composer 安装命令:

composer require thomasdseao/ovh_sms

包简介

Ovh SMS package for laravel

README 文档

README

Total Downloads

Laravel Package for OVH SMS

Quick Start Guide

  • Create a Laravel project: composer create-project laravel/laravel myproject
  • cd myproject
  • Installation Via Composer Add this to your composer.json file, in the require object:
"thomasdseao/ovh_sms": "1.0.0"
  • After that, run composer install to install the package.
  • Copy configuration: php artisan vendor:publish (To publish the ovhsms config file)

Now you are ready to use the Ovhsms Facade, e.g. open routes/web.php:

<?php

Route::get('testsms', function(Request $request) {
    return Ovhsms::send("SENDER NAME", "0033610203040", "Hey guys !\nHow are you today ?", 1);
});

The parameters definition of function send :

  • The sender name (This name will be display on phone when customer receive the SMS)
  • Phone number in international format : '0033' before all phone numbers (See example with french number)
  • The message (If you want to do a line break, please type : \n) PS : Do not forget to use double quotes for the message parameter
  • The nostop : set to 1 to not display "STOP at XXXXX" at the end of the message for a non-commercial SMS

Add this to your .env file :

OVH_SMS_URL=https://www.ovh.com/cgi-bin/sms/http2sms.cgi
OVH_SMS_APP_ACCOUNT=sms-pl996816-1
OVH_SMS_APP_LOGIN=login_user
OVH_SMS_PASSWORD=abf30vM9

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-03-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固