PHPackages                             kphoen/contact-bundle - 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. kphoen/contact-bundle

AbandonedArchivedSymfony-bundle

kphoen/contact-bundle
=====================

Yet another contact bundle

4.0.0(9y ago)72.7k4MITPHPPHP ~7.0

Since Dec 17Pushed 8y ago4 watchersCompare

[ Source](https://github.com/K-Phoen/KPhoenContactBundle)[ Packagist](https://packagist.org/packages/kphoen/contact-bundle)[ RSS](/packages/kphoen-contact-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (13)Used By (0)

KPhoenContactBundle
===================

[](#kphoencontactbundle)

[![Build Status](https://camo.githubusercontent.com/1408ef308915343aaa3a1889cccafc3faa56542450b61d949b5ea202585f9aab/68747470733a2f2f7472617669732d63692e6f72672f4b2d50686f656e2f4b50686f656e436f6e7461637442756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/K-Phoen/KPhoenContactBundle)[![StyleCI](https://camo.githubusercontent.com/0e37fb6ac37e7b3894bf97bf27903ba4ed05669196a37133f32c0e92bd8bd3ba/68747470733a2f2f7374796c6563692e696f2f7265706f732f373031383738302f736869656c64)](https://styleci.io/repos/7018780)[![Coverage Status](https://camo.githubusercontent.com/444acd4e5888d64c17ce87f78bd55ab5006d9554df8e0a51ae8b53c547fff260/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4b2d50686f656e2f4b50686f656e436f6e7461637442756e646c652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/K-Phoen/KPhoenContactBundle?branch=master)[![Latest stable release](https://camo.githubusercontent.com/1184f0d52aa64b77756a10644a78474c8f450c51e33adfed854a092254f5b2b8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f4b2d50686f656e2f4b50686f656e436f6e7461637442756e646c652e7376673f6d61784167653d32353932303030)](https://github.com/K-Phoen/KPhoenContactBundle/releases)[![Overall downloads on Packagist](https://camo.githubusercontent.com/4b07fda70a0553af5a9e722e48516f739a11a6015f1cd32b0c2f5459a95691ed/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b70686f656e2f636f6e746163742d62756e646c652e7376673f6d61784167653d32353932303030)](https://packagist.org/packages/kphoen/contact-bundle)[![license](https://camo.githubusercontent.com/c207a064930f9dda771e04c4da9c94b92b25fbd5864e524ba03cecb3e52476fc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f4b2d50686f656e2f4b50686f656e436f6e7461637442756e646c652e7376673f6d61784167653d32353932303030)](https://github.com/K-Phoen/KPhoenContactBundle/blob/master/LICENCE)

Yet another contact bundle.

Installation
------------

[](#installation)

### Composer

[](#composer)

Add `kphoen/contact-bundle` to your required field. Then install/update your dependencies.

### app/AppKernel.php

[](#appappkernelphp)

Register the `KPhoenContactBundle`:

```
# app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new KPhoen\ContactBundle\KPhoenContactBundle(),
    );
}
```

Configuration
-------------

[](#configuration)

### config.yml

[](#configyml)

The following options are available in the `app/config/config.yml` file:

```
k_phoen_contact:
    redirect_url:       homepage  # the url to redirect the user to once the
                                  # mail is sent
    sender:             { address: 'no-reply@foo.org' }
    receiver:           { address: 'contact@foo.org' }
```

### Routing

[](#routing)

Import the routes:

```
kphoen_contact:
    resource: "@KPhoenContactBundle/Resources/config/routing.yml"
```

Usage
-----

[](#usage)

### Routes

[](#routes)

The previous configuration imports a route named `contact` in your application, which correspond to a simple contact form.

### Templates

[](#templates)

You will probably need to customize the view used by the bundle. To do that, we will override the templates exposed by the contact bundle.

In `app/Resources/KPhoenContactBundle/views/Contact/contact.html.twig`:

```
{% extends 'AcmeDemoBundle::layout.html.twig' %}

{% block title %}Contact{% endblock %}

{% block body %}
Contact

{% include "KPhoenContactBundle:Contact:form.html.twig" with {'form': form} %}
{% endblock %}
```

### Events

[](#events)

Two events are emitted during the submission of the event form:

- `contact.pre_send`: emitted just before the mail is sent ;
- `contact.post_send`: emitted just after.

Contributing
------------

[](#contributing)

See the [CONTRIBUTING](https://github.com/K-Phoen/KPhoenContactBundle/blob/master/CONTRIBUTING.md) file.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Every ~163 days

Recently: every ~178 days

Total

10

Last Release

3421d ago

Major Versions

1.0.3 → 2.0.02013-11-14

2.0.x-dev → 3.0.02016-01-21

3.0.x-dev → 4.0.02016-12-28

PHP version history (2 changes)3.0.0PHP ~5.5|~7.0

4.0.0PHP ~7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/66958?v=4)[Kévin Gomez](/maintainers/K-Phoen)[@K-Phoen](https://github.com/K-Phoen)

---

Top Contributors

[![redianthus](https://avatars.githubusercontent.com/u/16472988?v=4)](https://github.com/redianthus "redianthus (48 commits)")[![K-Phoen](https://avatars.githubusercontent.com/u/66958?v=4)](https://github.com/K-Phoen "K-Phoen (36 commits)")[![alister](https://avatars.githubusercontent.com/u/173165?v=4)](https://github.com/alister "alister (12 commits)")[![pretor](https://avatars.githubusercontent.com/u/1022699?v=4)](https://github.com/pretor "pretor (1 commits)")

---

Tags

contact

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kphoen-contact-bundle/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)

PHPackages © 2026

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