承接 kristuff/phtemail 相关项目开发

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

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

kristuff/phtemail

Composer 安装命令:

composer require kristuff/phtemail

包简介

PHP Html Email Builder

README 文档

README

Php Html email builder

Scrutinizer Code Quality Build Status Latest Stable Version License

Wanting to send html emails from some apps, I have used some times email templates edited by hand, meaning needing to look into boring html table structure from an extisting template, hard code the email content, or place some tags to be replaced later with real content by the code that needs to retreive the template, search replace tags, etc... That's so boring

Kristuff\Phtemail lets you create your template on the fly. Then, you are free to save it or send it immediately. The library comes with a centered layout, custom html elements for layout and email content, predefined styles, and methods / ways to customize the email as you need.

Requirments

  • PHP >= 7.1
  • Composer (for install)

Install

  • Install with composer:

    $  composer require kristuff/phtemail
    
  • Or deploy in your project (in composer.json):

    {
        ...
        "require": {
            "kristuff/phtemail": ">=0.1-stable"
        }
    }
    

Sample

Basic sample:

<?php
require_once '../vendor/autoload.php';

use Kristuff\Phtemail\HtmlEmailBuilder;
use Kristuff\Phtemail\HtmlElements;

// Create a new instance an HtmlEmailBuilder 
$builder = new HtmlEmailBuilder();

//todo

// Get the generated email
email = $builder->getHtml();

Licence

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-05-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固