xlabs/surveybundle

Survey management bundle

Installs: 127

Dependents: 0

Suggesters: 0

Security: 0

Type:laravel-library

1.0.12 2023-11-29 21:29 UTC

This package is auto-updated.

Last update: 2024-11-29 23:40:26 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