PHPackages                             mfcc/zendesk-contact - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mfcc/zendesk-contact

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mfcc/zendesk-contact
====================

Contact-Form using a honeypot for spam-protection and zendesk API for creating ticket

1471PHP

Since Jul 22Pushed 10y ago3 watchersCompare

[ Source](https://github.com/Tlapi/mfcc-zendesk-contact)[ Packagist](https://packagist.org/packages/mfcc/zendesk-contact)[ RSS](/packages/mfcc-zendesk-contact/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

[![Total Downloads](https://camo.githubusercontent.com/220c5369945d69618b0ac41268b126e9efb321c88482adc5e38e9b4fb44b0cc7/68747470733a2f2f706f7365722e707567782e6f72672f6d6663632f7a656e6465736b2d636f6e746163742f646f776e6c6f6164732e706e67)](https://packagist.org/packages/rinomau/mva-crud)

---

MfccZendeskContact
------------------

[](#mfcczendeskcontact)

This Modules provides a simple contact-form with spam-protection using a honeypot and Zendesk API for ticket creation. It is based on the OrgHeiglContact module by Andreas Heigl ().

The idea of the honeypot is based on a blogpost by Lorna Jane Mitchell (according to Andreas Heigl)

Install:
--------

[](#install)

The suggested installation method is via [composer](http://getcomposer.org/):

```
php composer.phar require mfcc/zendesk-contact:dev-master
```

Usage:
------

[](#usage)

1. In your application.conf-file add the Module to the list of modules
2. Configure your settings
3. Link to the Form using `$this->url('contact')`
4. There is no step four.

View plugin:
------------

[](#view-plugin)

Use `echo $this->mfccContactWidget()` to show contact form anywhere in your views

Extend form:
------------

[](#extend-form)

Extend base contact form using init listeners in your Module.php like this:

```
public function onBootstrap(MvcEvent $e)
	{
        $eventManager        = $e->getApplication()->getEventManager();
        $moduleRouteListener = new ModuleRouteListener();
        $moduleRouteListener->attach($eventManager);

	$em = $eventManager->getSharedManager();
	$em->attach(
		'MfccZendeskContact\Form\ContactForm',
		'init',
		function($e)
		{
			$form = $e->getTarget();
			$form->add(
				array(
					'name' => 'username',
					'options' => array(
						'label' => 'Username',
					),
					'attributes' => array(
						'type'  => 'text',
					),
				)
			);
		}
	);
}

```

Note that you need to render and process form for yourself if you extend it.

To process your customized form, you can use zendesk service. Customize your zendesk service with `$this->getServiceLocator()->get('zendeskService')->addTag($tag)``$this->getServiceLocator()->get('zendeskService')->addCustomField($key, $value)`etc. See `ZendeskService.php`

And create ticket like this:

```
$this->getServiceLocator()->get('zendeskService')->createTicket($fromName, $fromEmail, $yourCustomizedBody);

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2815391?v=4)[Tlapi](/maintainers/Tlapi)[@Tlapi](https://github.com/Tlapi)

![](https://avatars.githubusercontent.com/u/1188200?v=4)[Petr Malecha](/maintainers/bedi)[@bedi](https://github.com/bedi)

### Embed Badge

![Health badge](/badges/mfcc-zendesk-contact/health.svg)

```
[![Health](https://phpackages.com/badges/mfcc-zendesk-contact/health.svg)](https://phpackages.com/packages/mfcc-zendesk-contact)
```

###  Alternatives

[sweetrdf/easyrdf

EasyRdf is a PHP library designed to make it easy to consume and produce RDF.

261.5M12](/packages/sweetrdf-easyrdf)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
