davidcb/laravel-esendex 问题修复 & 功能扩展

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

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

davidcb/laravel-esendex

最新稳定版本:0.6

Composer 安装命令:

composer require davidcb/laravel-esendex

包简介

Laravel wrapper for Esendex

README 文档

README

Laravel 5 wrapper for Esendex SMS

Installation

Install via Composer:

composer require davidcb/laravel-esendex

If you're using Laravel >= 5.5, you can skip this as this package will be auto-discovered. Add the service provider to config/app.php

Davidcb\Esendex\EsendexServiceProvider::class,

You can register the facade in the aliases array in the config/app.php file

'Esendex' => Davidcb\Esendex\Facades\Esendex::class,

Publish the config file

$ php artisan vendor:publish --provider="Davidcb\Esendex\EsendexServiceProvider"

Set your API key and Client ID on your .env file

ESENDEX_ACCOUNT=EX000000
ESENDEX_EMAIL=user@example.com
ESENDEX_PASSWORD=secret

Usage

You can find all the methods in the original esendex/esendex-php-sdk package.

Examples:

// Send an SMS
$result = LaravelEsendex::send('Sender', '555000000', 'This is the text of the SMS');
// Retrieve inbox messages
$messages = LaravelEsendex::latest();
// Get a message's status
$status = LaravelEsendex::messageStatus('123456');
// Get a message's body
$body = LaravelEsendex::getMessageBodyById('123456');

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固