instride / contact-form
contact form Bundle for Pimcore
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:pimcore-bundle
pkg:composer/instride/contact-form
Requires
- php: >=8.2
- pimcore/pimcore: ^11
- symfony/form: ^6.0
- symfony/twig-bundle: ^6.0
Requires (Dev)
- phpstan/phpstan: ^1.11
- phpstan/phpstan-symfony: ^1.4
- symplify/easy-coding-standard: ^12.2
This package is not auto-updated.
Last update: 2026-01-10 13:37:04 UTC
README
This Bundle provides a simple contact form for your website. It allows you to easily add a contact form to any page on your site using a document in your Pimcore application.
Features
- Simple contact form with fields for firstname, lastname, email and message.
- Basic JavaScript Form validation to ensure all fields are filled out correctly.
- Sends form submissions to a configurable email address.
- Uses Twig templates for easy customization of the form layout and styling.
- Redirects users to a configurable page after a successful submission.

Requirements
- Pimcore
^11.0 - Symfony/Form
^6.0 - Symfony/Twig-Bundle
^6.0
Installation
You can install the Bundle via Composer:
composer require instride/contact-form
Then, enable the Bundle in your config/bundles.php file:
return [ // ... Instride\Bundle\ContactFormBundle\ContactFormBundle::class => ['all' => true], ];
Before using the contact form, make sure create the FormValue Data-Object class following the template:

Add the following line to the <head> of your base Twig template to include the necessary assets:
{% include '@ContactForm/_contact_form_assets.html.twig' %}
Finally, Run the following command to install the required assets:
php bin/console assets:install
Usage
To use the contact form, create a new Document with the name contact_form in your Pimcore admin panel. You can then add this document to any link on your site.
To configure a redirect page after a successful submission, set the contact_form_redirect_site property in the Navigation & Properties tab of the document.
In the "Website Settings" section of your Pimcore admin panel, set the following properties:

