承接 waughj/html-mail-link 相关项目开发

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

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

waughj/html-mail-link

Composer 安装命令:

composer require waughj/html-mail-link

包简介

Simple way to create HTML for email link.

README 文档

README

Simple way to create HTML for email link.

Simply create an instance sending the email as the 1st argument and either use the object as a string or call getHTML() on it to automatically generate HTML for a mailto link.

Example:

new HTMLMailLink( 'waughjai@gmail.com' );

Generates the HTML:

<a href="mailto:waughjai@gmail.com'">waughjai@gmail.com</a>

For custom value shown in the link, push a hash map as the optional 2nd argument with the value you want in the "value" key:

Example:

new HTMLMailLink( 'waughjai@gmail.com', [ "value" => "Email me." ] );

Generates the HTML:

<a href="mailto:waughjai@gmail.com'">Email me.</a>

This hash map can also be used to send all other valid HTML5 attributes, as well as other options. See HTMLLink source code at https://github.com/waughjai/html-link for mo' details.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: AGPL-3.0-or-later
  • 更新时间: 2018-11-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固