alexbridge/symfony-bundle-contact
Bundle for Symfony 2 with a generic contact form for your website.
Fields:
Installation:
composer require alexbridge/symfony-bundle-contact
Enable Bundle
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Alexo\ContactBundle\ContactBundle(),
);
}
Register routes
// app/config/routing.yml
contact:
resource: "@ContactBundle/Controller/"
type: annotation
prefix: /contact
Configuration:
contact:
# an array email addresses to receive contact messages
receiver_emails: []
Routes:
contact route to your views and route generation/contact uri to see contact formHow can I help you explore Laravel packages today?