spitoglou/doluna-sms 问题修复 & 功能扩展

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

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

spitoglou/doluna-sms

Composer 安装命令:

composer require spitoglou/doluna-sms

包简介

A package for sending SMS via Doluna service API

README 文档

README

Build Status GitHub license GitHub release Scrutinizer Code Quality Latest Stable Version Latest Unstable Version Total Downloads

This is a package for sending SMS messages utilizing the Doluna SMS service API.

Requirements

  • PHP >=5.5.9

Installation

Require this package with composer: (to be completed when this will be published)

composer require spitoglou/doluna-sms

After updating composer, add the ServiceProvider to the providers array in config/app.php

'providers' => [
	//	...
	Spitoglou\SMS\SMSServiceProvider::class,
]

Copy the package config to your local config with the publish command:

php artisan vendor:publish

Usage

Example of quick (and a little dirty) implementation, right from a route closure:

Route::get('smsSend/{message}', function ($message) {
    $recipient = new \Spitoglou\SMS\SMSRecipient('306973######'); //12 digit international number here (30 stands for Greece etc.)
    return \Spitoglou\SMS\SMSClass::SMSSend($recipient, $message);
});

Configurations

Edit sms.php in the app/config directory for more configurations.

/*
     |--------------------------------------------------------------------------
     | API KEY
     |--------------------------------------------------------------------------
     |
     | You will need to provide here the API key that you can generate from
     | the Doluna site, after you have registered.
     |
     */
    
    'dolunaAPIKey' => 'YourApiKeyHere',

License

Doluna-SMS is licensed under the MIT License.

Copyright 2015 Stavros Pitoglou

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-04-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固