2017 © Pedro Peláez
 

symfony-bundle symfony-bundle-contact

Bundle for Symfony 2 with a general contact form for your website

image

alexbridge/symfony-bundle-contact

Bundle for Symfony 2 with a general contact form for your website

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

ContactBundle

Bundle for Symfony 2 with a generic contact form for your website., (*1)

Fields:, (*2)

  • Name
  • Email
  • Subject
  • Message

Installation:, (*3)

  • composer require alexbridge/symfony-bundle-contact
  • Enable Bundle, (*4)

      // app/AppKernel.php
      public function registerBundles()
      {
          $bundles = array(
              // ...
              new Alexo\ContactBundle\ContactBundle(),
          );
      }
  • Register routes, (*5)

    // app/config/routing.yml
    contact:
        resource: "@ContactBundle/Controller/"
        type:     annotation
        prefix:   /contact

Configuration:, (*6)

contact:
    # an array email addresses to receive contact messages
    receiver_emails: []

Routes:, (*7)

  • add contact route to your views and route generation
  • access /contact uri to see contact form

The Versions

13/06 2016

dev-master

9999999-dev https://github.com/alexbridge/symfony-bundle-contact

Bundle for Symfony 2 with a general contact form for your website

  Sources   Download

MIT

The Requires

 

bundle symfony contact contact form symfony 2