2017 © Pedro Peláez
 

symfony-bundle mv-contact-bundle

Symfony2 Form contact Bundle

image

mv/mv-contact-bundle

Symfony2 Form contact Bundle

  • Sunday, September 17, 2017
  • by phpmike
  • Repository
  • 1 Watchers
  • 0 Stars
  • 108 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

MvContactBundle

Contact form for website, (*1)

INSTALLATION with COMPOSER

You need have installed Symfony2 2.2 with Composer or have a composer.json file, (*2)

1) Add to composer.json in the root require key

"mv/mv-contact-bundle": "2.2.*@dev"

2) Add to AppKernel.php

new Mv\ContactBundle\MvContactBundle(),

3) Add to config.yml

mv_contact:
    mail_from:      server.mail@domain.tld
    mail_to:        your.mail@domain.tld
    # Eventually
    mail_cc:        another.mail@domain.tld
    mail_bcc:       another.secret.mail@domain.tld

4) Add to routing.yml

mv_contact:
    resource: "@MvContactBundle/Resources/config/routing.yml"

for translated websites, add:, (*3)

    prefix: /{_locale}
    defaults:
        _locale: en

5) Eventually override layout.html.twig

Create app/Resources/MvContactBundle/views/layout.html.twig, (*4)

See original vendor/mv/mv-contact-bundle/Mv/ContactBundle/Resources/views/layout.html.twig for example, (*5)

Change where extends from and bloc name are what you expect..., (*6)

Run update with composer, (*7)

php path/to/composer.phar update

Route name "mvcontact" is contact form, (*8)

The Versions

17/09 2017

dev-master

9999999-dev https://github.com/phpmike/MvContactBundle

Symfony2 Form contact Bundle

  Sources   Download

GPL

The Requires

 

form contact

21/12 2015

1.0.x-dev

1.0.9999999.9999999-dev https://github.com/phpmike/MvContactBundle

Symfony2 Form contact Bundle

  Sources   Download

GPL

The Requires

 

form contact

21/12 2015

1.0.0

1.0.0.0 https://github.com/phpmike/MvContactBundle

Symfony2 Form contact Bundle

  Sources   Download

GPL

The Requires

 

form contact