vansteen/sendinblue 问题修复 & 功能扩展

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

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

vansteen/sendinblue

Composer 安装命令:

composer require vansteen/sendinblue

包简介

A Laravel 5 (and Laravel 4) wrapper for the SendInBlue API PHP class (as provided by SendInBlue)

README 文档

README

The package supports use with the Laravel framework v4.x or v5.x providing a SendinblueWrapper facade.

###Setup:

In order to install, add the following to your composer.json file within the require block:

"require": {
    …
    "vansteen/sendinblue": "dev-master"
    …
}

Within Laravel, locate the file ..config/app.php. Add the following to the providers array:

'providers' => array(

    'Vansteen\Sendinblue\SendinblueServiceProvider',

),

Furthermore, add the following the the aliases array:

'aliases' => array(

    'SendinblueWrapper' => 'Vansteen\Sendinblue\Facades\SendinBlueWrapper',

),

Run the command composer update.

Publish the configuration:

// Laravel v4.x
$ php artisan config:publish vansteen/sendinblue

// Laravel v5.x
$ php artisan vendor:publish

###Usage:

Your unique Sendinblue API key should be set in the package's config found in app/config/packages/vansteen/sendinblue/config.php (Laravel 4) config/sendinblue.php (Laravel 5)

Methods of the Sendinblue API class work as described by the Sendinblue API docs found Here. Thanks to Laravel's use of the "Facade" design pattern, all methods may be called in the following manner:


// Retrieve your account info
$account = SendinblueWrapper::get_account();

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: 未知许可证
  • 更新时间: 2015-03-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固