eugenzor / feedback
Simple feedback module with bootstrap3 support for Zend Framework 2
dev-master
2015-12-29 19:03 UTC
Requires
- php: >=5.5
- neilime/zf2-twb-bundle: 2.*@stable
- phpmailer/phpmailer: ~5.2
- zendframework/zendframework: ~2@stable
- zendframework/zftool: dev-master
Suggests
- zf-commons/zfc-user: 2.*@dev
This package is not auto-updated.
Last update: 2024-12-25 20:18:47 UTC
README
Simple feedback module for zf2 with bootstrap3. It is integrated with zfcUser auth module. It contains captcha spam protection. User's feedback will send to your email.
Example of interface
Install
- Add into you composer.json:
require "eugenzor/feedback": "dev-master"
- run
php composer.phar update
- add modules Feedback and TwbBundle into you config/application.ini:
<?php return array( 'modules' => array( // .... some other modules 'Feedback', // <-------- Add 'TwbBundle' // <-------- this ), // .... some other config );
- copy module/Feedback/config/feedback.global.php.dict to the config/autoload/feedback.global.php
copy module/Feedback/config/feedback.global.php.dict config/autoload/feedback.global.php
- modify config/autoload/feedback.global.php and put your support email there
- run http[s]://{your_project_root}/feedback
Configuration
It is also possible to configurate feedback form by changing default params. You can rewrite any of them in your config/feedback.global.php:
return array( 'feedback' => array( 'title' => 'Feedback', 'description' => 'If you want to contact us, please use this form', 'display_flash_messages' => true, 'message_subject' => 'Feedback' ), //..... );
- title - feedback form title
- description - feedback form description
- display_flash_messages - if true, module will use local Flash Messenger to show succes or error message. If false dosn't show anything and hope that you use global Flash Messenger and show messages there.
- message_subject - Subject of email that will be send to the support address.