elgigi/mjml
最新稳定版本:1.1.1
Composer 安装命令:
composer require elgigi/mjml
包简介
PHP MJML library
README 文档
README
PHP library who use MJML node.js library to convert MJML language to HTML.
Installation
Composer
You can install the client with Composer, it's the recommended installation.
composer require elgigi/mjml npm install mjml
Dependencies
- PHP ^7.1 || ^8.0
- NPM: mjml
Usage
$mjml = new Mjml(PATH_TO_MJML_NODE_COMMAND); $output = $mjml->strToHtml('MY MJML CODE');
Options
You can minify the output (default: yes).
$mjml->minify(false); // To disable minify option $mjml->minify(true); // To enable minify option
统计信息
- 总下载量: 4.14k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2019-09-16