PHPackages                             yuanqing/kontact - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. yuanqing/kontact

AbandonedArchivedLibrary[Mail &amp; Notifications](/categories/mail)

yuanqing/kontact
================

An extensible contact form in PHP and vanilla JavaScript/AJAX.

v0.2.2(11y ago)121MITJavaScriptPHP &gt;=5.3

Since Sep 12Pushed 11y agoCompare

[ Source](https://github.com/yuanqing/kontact)[ Packagist](https://packagist.org/packages/yuanqing/kontact)[ Docs](https://github.com/yuanqing/kontact)[ RSS](/packages/yuanqing-kontact/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

kontact [![npm Version](https://camo.githubusercontent.com/0037e52f6deec8911e42ca263dceaefa4a3ae347f2eea75126ee8ba453ad7d31/687474703a2f2f696d672e736869656c64732e696f2f6e706d2f762f6b6f6e746163742e7376673f7374796c653d666c6174)](https://www.npmjs.org/package/kontact) [![Packagist Version](https://camo.githubusercontent.com/986b7c274daf7519654246229fffa936a6bda21983f194fe07a40782e0601a31/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7975616e71696e672f6b6f6e746163742e7376673f7374796c653d666c6174)](https://packagist.org/packages/yuanqing/kontact) [![Build Status](https://camo.githubusercontent.com/456f57774140784f8e91fa81beac6a6c6c7594d1f5c4b850f6fcb03c6a93c28a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7975616e71696e672f6b6f6e746163742e7376673f7374796c653d666c6174)](https://travis-ci.org/yuanqing/kontact)
===================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#kontact---)

> An extensible contact form in PHP and vanilla JavaScript/AJAX.

Quick start
-----------

[](#quick-start)

1. Clone this repo into a location accessible via [`localhost`](http://localhost/). For example, do:

```
$ cd ~/Sites
$ git clone https://github.com/yuanqing/kontact
$ cd kontact/example
```

Or simply upload [this repo](https://github.com/yuanqing/kontact/archive/master.zip) onto a web server that can run PHP.

2. Open [`example/index.php`](https://github.com/yuanqing/kontact/blob/master/example/index.php) on a web browser, break out your JavaScript console, and have a go at submitting the contact form.

Usage
-----

[](#usage)

Our contact form is composed of the following:

### • [example/index.php](https://github.com/yuanqing/kontact/blob/master/example/index.php)

[](#-exampleindexphp)

This is the HTML for the contact form itself.

```

    Name
