承接 mehedimi/laravel-amp-mail 相关项目开发

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

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

mehedimi/laravel-amp-mail

最新稳定版本:2.0.0

Composer 安装命令:

composer require mehedimi/laravel-amp-mail

包简介

Send amp mail through laravel mail

README 文档

README

Laravel AMP Mail

Send amp mail through your Laravel app

Installation

composer require mehedimi/laravel-amp-mail

Quick Usages

To send amp email just use Mehedi\AmpMail\Mimes\Amp trait on your mail class and load amp view by using amp method.

Example

<?php

namespace App\Mail;

use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Mehedi\AmpMail\Mimes\Amp;

class WelcomeEmail extends Mailable
{
    use Queueable, SerializesModels, Amp;

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {
        return $this->amp('amp')
            ->view('html')
            ->with('name', 'Mehedi Hasan');
    }
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-06-13