承接 beanstalkhq/laramandrill 相关项目开发

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

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

beanstalkhq/laramandrill

最新稳定版本:2.1.1

Composer 安装命令:

composer require beanstalkhq/laramandrill

包简介

Mandrill API for Laravel

README 文档

README

Laravel Mandrill plugin!

Version 1.x - For Laravel 4.x

Version 2.x - For Laravel 5.x

This plugin for laravel is based heavily on the plugin by MichMich but made for composer and some other goodies.

This package is a simple wrapper for working w/ the Mandrill API.

Install

Begin by installing this package through Composer. Edit your project's composer.json file to require CanopyTax/laramandrill.

"require": {
	"CanopyTax/laramandrill": "~2.0"
}

Next, update Composer from the Terminal:

composer update

Once this operation completes, the final step is to add the service provider. Open config/app.php, and add a new item to the providers array.

'CanopyTax\Laramandrill\LaramandrillServiceProvider'

Add this line to aliases array in your config/app.php

'Laramandrill' => 'CanopyTax\Laramandrill\Facades\Laramandrill'

Lastly you need to add your Mandrill API key. Generate the config file and edit it inside {root}/config/laramandrill.php

Usage

Call the desired method and pass the params as a single array. Don't worry about passing the API key.

$response = Laramandrill::request('post', 'messages/send', array(
	'message' => array(
		'html' => 'Body of the message.',
		'subject' => 'Subject of the message.',
		'from_email' => 'monkey@somewhere.com',
		'to' => array(array('email'=>'foo@bar.com')),
	),
));

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2014-10-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固