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

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

mremi/contact-bundle
====================

Implementation of a contact form for Symfony2

v1.3.0(10y ago)2712.4k↓33.3%23[2 PRs](https://github.com/mremi/ContactBundle/pulls)2MITPHPPHP &gt;=5.3.3

Since Jul 18Pushed 7y ago4 watchersCompare

[ Source](https://github.com/mremi/ContactBundle)[ Packagist](https://packagist.org/packages/mremi/contact-bundle)[ Docs](https://github.com/mremi/ContactBundle)[ RSS](/packages/mremi-contact-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (7)Used By (2)

MremiContactBundle
==================

[](#mremicontactbundle)

[![SensioLabsInsight](https://camo.githubusercontent.com/37c06e61b893999689da0a924e1640d55bc87b1030059ecdaeb500a367962c11/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f37633366303264372d636663342d346536612d393839322d3238626132346138656364322f6269672e706e67)](https://insight.sensiolabs.com/projects/7c3f02d7-cfc4-4e6a-9892-28ba24a8ecd2)

[![Build Status](https://camo.githubusercontent.com/698726cb6e46f27b8c7f0b6753be92b75baac13c31cf66b1392fad9fb00698e5/68747470733a2f2f6170692e7472617669732d63692e6f72672f6d72656d692f436f6e7461637442756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/mremi/ContactBundle)[![Total Downloads](https://camo.githubusercontent.com/186d4bd0465b5acb306d75283f65d0537548bb6efeef2ee3b775f2ec1d9bc94a/68747470733a2f2f706f7365722e707567782e6f72672f6d72656d692f636f6e746163742d62756e646c652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/mremi/contact-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/6229a1d5901e615d26c46b34da756b92ad8ce176cb2e389565da0451bc3c3311/68747470733a2f2f706f7365722e707567782e6f72672f6d72656d692f636f6e746163742d62756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/mremi/contact-bundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/5bd5a236773bbe3d2e2ce99f7487fa1b9b2367e765f809ac42e67c9098819837/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d72656d692f436f6e7461637442756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f733d34363762336461396330333363393635386537353934363065333036613761343331666433306164)](https://scrutinizer-ci.com/g/mremi/ContactBundle/)[![Code Coverage](https://camo.githubusercontent.com/04de5aa60e8e6d2c037497c2ec825590c15040139adc371fc650d1445a57b6e9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d72656d692f436f6e7461637442756e646c652f6261646765732f636f7665726167652e706e673f733d35626230353731373566623535383664356362646661653339313036633264373665363538613062)](https://scrutinizer-ci.com/g/mremi/ContactBundle/)

This bundle provides a contact form in Symfony2.

License
-------

[](#license)

This bundle is available under the [MIT license](Resources/meta/LICENSE).

Prerequisites
-------------

[](#prerequisites)

This version of the bundle requires Symfony 2.3+.

### Translations

[](#translations)

If you wish to use default texts provided in this bundle, you have to make sure you have translator enabled in your config.

```
# app/config/config.yml

framework:
    translator: ~
```

For more information about translations, check the [Symfony documentation](http://symfony.com/doc/current/book/translation.html).

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

[](#installation)

Installation is a quick 6 step process:

1. Download MremiContactBundle using composer
2. Enable the Bundle
3. Create your Contact class (optional)
4. Configure the MremiContactBundle
5. Import MremiContactBundle routing
6. Update your database schema (optional)

### Step 1: Download MremiContactBundle using composer

[](#step-1-download-mremicontactbundle-using-composer)

Add MremiContactBundle in your composer.json:

```
{
    "require": {
        "mremi/contact-bundle": "dev-master"
    }
}
```

Now tell composer to download the bundle by running the command:

```
$ php composer.phar update mremi/contact-bundle
```

Composer will install the bundle to your project's `vendor/mremi` directory.

### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

Enable the bundle in the kernel:

```
