PHPackages                             victoire/form-widget - 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. victoire/form-widget

AbandonedSymfony-bundle

victoire/form-widget
====================

Victoire Form widget

2.3.7(7y ago)43.8k8[2 issues](https://github.com/Victoire/WidgetFormBundle/issues)[1 PRs](https://github.com/Victoire/WidgetFormBundle/pulls)MITPHP

Since Nov 2Pushed 7y ago14 watchersCompare

[ Source](https://github.com/Victoire/WidgetFormBundle)[ Packagist](https://packagist.org/packages/victoire/form-widget)[ RSS](/packages/victoire-form-widget/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (6)Versions (26)Used By (0)

[![CircleCI](https://camo.githubusercontent.com/b81e7f1a8223eb7a74a8da24b3d6330f07edf97abcd1197dc242e058845ae82c/68747470733a2f2f636972636c6563692e636f6d2f67682f566963746f6972652f576964676574466f726d42756e646c652e7376673f7374796c653d736869656c64)](https://circleci.com/gh/Victoire/WidgetFormBundle)

Victoire Form Bundle
====================

[](#victoire-form-bundle)

What is the purpose of this bundle
----------------------------------

[](#what-is-the-purpose-of-this-bundle)

This bundle gives you access to the *Form Widget*. With this widget, you can install any contact form.

Set Up Victoire
---------------

[](#set-up-victoire)

If you haven't already, you can follow the steps to set up Victoire *[here](https://github.com/Victoire/victoire/blob/master/doc/setup.md)*

Install the Bundle :
--------------------

[](#install-the-bundle-)

Run the following composer command :

```
php composer.phar require victoire/form-widget

```

Do not forget to add the bundle in your AppKernel!

```
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            ...
            new Victoire\Widget\FormBundle\VictoireWidgetFormBundle(),
            new Ivory\CKEditorBundle\IvoryCKEditorBundle(),
        );

        return $bundles;
    }
}

```

Inject Data before send mail
----------------------------

[](#inject-data-before-send-mail)

When widget is configure to send mail with form data, you can inject some other data before send mail.

### Create a EventLister :

[](#create-a-eventlister-)

```
