atm/surveybundle

Survey management bundle

Installs: 20

Dependents: 0

Suggesters: 0

Security: 0

Type:symfony-bundle

1.7 2020-06-30 09:48 UTC

This package is auto-updated.

Last update: 2020-06-30 09:50:15 UTC


README

A Survey Manager System

Installation

Install through composer:

php -d memory_limit=-1 composer.phar require atm/surveybundle

In your AppKernel

public function registerbundles()
{
    return [
    	...
    	...
    	new ATM\SurveyBundle\ATMSurveyBundle(),
    ];
}

Routing

Append to main routing file:

# app/config/routing.yml
  
atm_survey_admin:
    resource: "@ATMSurveyBundle/Controller/AdminController.php"
    type: annotation
    prefix:   /members/admin

atm_survey:
    resource: "@ATMSurveyBundle/Controller/SurveyController.php"
    type: annotation
    prefix:   /

Configuration sample

Default values are shown below:

# app/config/config.yml
  
atm_survey:
    user: User namespace
    redirect_route_after_survey: route after survey submision