dragonee/silverplate-form
最新稳定版本:v0.8.3-beta1
Composer 安装命令:
composer require dragonee/silverplate-form
包简介
Add a simple contact form to dragonee/silverplate.
关键字:
README 文档
README
Add a contact form to your PHP Silverplate installation.
Introduction
Get more information about PHP Silverplate here: https://github.com/dragonee/php-silverplate
This package allows you to enhance your Silverplate instalation by easy to integrate contact form. It's especially useful if you need to create a one-page questionnaire with custom design and are fine with results going to your e-mail inbox.
Getting started
Grab PHP Silverplate from the link above and install it. Then run the following command:
$ php composer.phar require dragonee/silverplate-form:0.8.*
Composer will grab all required dependencies and install them automatically. You can now proceed to developing your e-mail form.
Creating a form
In order to successfully create an e-mail form, you would probably need at least three files.
- the form page will display the form to be submitted;
- the e-mail template will be used to send an e-mail back to you;
- the thank you page is the page where you redirect after the form being successfully submited.
The form page
See https://github.com/dragonee/silverplate-form/blob/master/examples/mail-form.php
The e-mail template
See https://github.com/dragonee/silverplate-form/blob/master/examples/mail-template.php
The thank you page
See https://github.com/dragonee/silverplate-form/blob/master/examples/thank-you.md
统计信息
- 总下载量: 63
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2012-12-31