kristofvc / contact
This is a component that defines a contact page
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:component
Requires
- php: >=5.4
- symfony/event-dispatcher: >=2.3
- symfony/form: >=2.3
- symfony/http-foundation: >=2.3
- symfony/templating: >=2.3
Requires (Dev)
- doctrine/common: >=2.3
- guzzlehttp/guzzle: ~5.2
- phpspec/phpspec: ~2.1
- squizlabs/php_codesniffer: ~2.3
- swiftmailer/swiftmailer: >=2.3
- symfony/translation: >=2.3
Suggests
- doctrine/orm: Install Doctrine ORM to persist your contact form in a relational database
- excelwebzone/recaptcha-bundle: Install this bundle if you want a recaptcha in your contact form
- guzzlehttp/guzzle: If you want to integrate with slack you could use guzzle to send your data to slack
- swiftmailer/swiftmailer: Use this component if you want to send mails about who contacted you
- symfony/translation: Add the symfony translator if you want to make the flash message translatable
- symfony/validator: Install the symfony validation component if you want validation of your contact model class
This package is not auto-updated.
Last update: 2022-02-01 12:46:07 UTC
README
This is a component that includes a controller to render a contact-form and then throws an event when the contact-form is submitted. This way listeners can handle the submission and send a mail, set a notice, etc...
Since the controller throws an event when the form is submitted and valid it's easy to add your own listeners.
Installing the component with composer
"require": {
...
"kristofvc/contact": "~1.0"
}
About
Documentation
The documentation is stored in the doc/index.md
file in this bundle:
Read the Documentation for master
Author
Kristof Van Cauwenbergh - kristof.vancauwenbergh@gmail.com - http://kristofvc.be. See also the list of contributors that participated in this project.
License
kristofvc/contact is licensed under the MIT License - see the meta/LICENSE
file for details.
Contributing
Issues and feature requests are tracked in the Github issue tracker.
When reporting a bug, it may be a good idea to reproduce it in a basic project to allow developers of the component to reproduce the issue by simply cloning this project.
Feel free to fork this project, to contribute and to send pull requests.