承接 jflepp/picomailformsplugin 相关项目开发

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

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

jflepp/picomailformsplugin

Composer 安装命令:

composer require jflepp/picomailformsplugin

包简介

A mail plugin with forms for pico

README 文档

README

PicoMailForms is a plugin for Pico which allows you to define a form and send a mails to a configured smtp server on submitting.

Forms can be written entirely in Markdown using custom markdown extensions. The mail is then being sent using PHPMailer.

PicoMailForms has been developed keeping CleanCode in mind. Unfortunately I'm not very familiar with PHP and the UnitTest coverage is therefore low. The IntegrationTest coverage reaches 98%.
Pull requests are welcome!

Use cases

  • Registration forms
  • Contact forms
  • and more...

Features

  • Markdown extension for forms
  • Mail success / error page after form submit
  • Operator mail
  • Custom success / error message
  • Bootstrap forms
  • Error Mail to administrator
  • 98% test coverage

Installation

Install the plugin using composer: composer require jflepp/picomailformsplugin.

Small Example

Configuration

Mail:
    SenderName: test.ch
    Host: server.test.ch
    UserName: test@test.ch
    Password: test
    Port: 587
    OperatorMail: testuser@test.ch

Form

[form]
  [text mail]E-Mail[/text]
  [text]some other information[/text]
[/form]

Operator Mail

A user has successfully filled your form: test

mailexample@customer.com
first_nameHans
last_nameZimmer
some_other_informationThis is me

Full configuration

Configuring PicoMailFormsPlugin is straight forward.

Mail:
    SenderName: MyWebsite
    Host: smpt.myprovider.com
    UserName: web@myprovider.com
    Password: apassword
    Port: 587
    OperatorMail: iamtheoperator@myprovider.com

Forms:
    UseBootstrap: true

Full form

[form]
    [subject]Registration for event XY[/subject]
    [success]You successfully registered for the event XY! You're going to receive more information asap[/success]
    [failed]Registration failed. The site administrator has already been informed.[/failed]
    [text mail required]Mail[/text]
    [text firstname]First name[/text]
    [text lastname]Last name[/text]
    [text]Address[/text]
    [text]Other informations[/text]
    [textarea required]Message[/textarea]
[/form]
  • [form] The beginning / end of a form. All data inbetween will be either interpreted or lost
  • [success] Defines the success message shown on the webpage and in the mail
  • [failed] The fail message shown on the page when a mail failed
  • [text] Will be transformed to a text input, the text inbetween will be used as label
  • [text required] Adds required to the input
  • [text mail] A usual text input which signalizes PicoMailForms that this is where the user mail is being specified. You can use any label you want. This is the only field required in a form.
  • [text firstname][text lastname] The first name and last name of the user. It will be set as receivername of the usermail.
  • [textarea] Defines textareas

jflepp/picomailformsplugin 适用场景与选型建议

jflepp/picomailformsplugin 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 139 次下载、GitHub Stars 达 4, 最近一次更新时间为 2018 年 11 月 18 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 jflepp/picomailformsplugin 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 jflepp/picomailformsplugin 我们能提供哪些服务?
定制开发 / 二次开发

基于 jflepp/picomailformsplugin 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 139
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 10
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: unlicense
  • 更新时间: 2018-11-18