承接 sairiz/mandrill 相关项目开发

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

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

sairiz/mandrill

最新稳定版本:1.0.4

Composer 安装命令:

composer require sairiz/mandrill

包简介

Mandrill Official API Wrapper for Laravel 4

README 文档

README

Latest Stable Version Total Downloads License

Installation :

  1. Install the package via composer

  2. Add the following entry to the array of service providers found in app/config/app.php : 'Sairiz\Mandrill\MandrillServiceProvider',

  3. Publish the config file to your app/config/ directory by running the following from command line in your project root : php artisan config:publish sairiz/mandrill

  4. Setup your api key at app/config/packages/sairiz/mandrill/config.php

Usage

Call any method using Facade alias (Email)

Example :

$message = array(
    'subject' => 'Your subject here',
    'html' => '<html><body>Your email body</body></html>',
    'from_email' => 'yours@email.com',
    'to' => array(array('email'=>'clients@email.com'))
);

$response = Email::messages()->send($message);

The first method is the call category while the chain method is the method within that category

Refer to the official documentation for full method at https://mandrillapp.com/api/docs/index.php.html

统计信息

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

GitHub 信息

  • Stars: 12
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-02-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固