2017 © Pedro Peláez
 

library feedback

Simple feedback module with bootstrap3 support for Zend Framework 2

image

eugenzor/feedback

Simple feedback module with bootstrap3 support for Zend Framework 2

  • Tuesday, December 29, 2015
  • by eugenzor
  • Repository
  • 1 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Feedback

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., (*1)

Example of interface

Module interface, (*2)

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:, (*3)

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.

The Versions

29/12 2015

dev-master

9999999-dev

Simple feedback module with bootstrap3 support for Zend Framework 2

  Sources   Download

BSD-3-Clause

The Requires

 

framework zf2 zend module feedback