atm/surveybundle

Survey management bundle

Installs: 267

Dependents: 0

Suggesters: 0

Security: 0

Type:symfony-bundle

1.50 2021-07-19 12:02 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