xlabs / surveybundle
Survey management bundle
1.0.12
2023-11-29 21:29 UTC
Requires
- php: >=5.6
- composer/installers: ~1.0
- knplabs/knp-paginator-bundle: ^2.6
- xlabs/mmadminbundle: ^2.0
- xlabs/resultcachebundle: ^1.0
- xlabs/trumbowygbundle: ~1.0
Requires (Dev)
- symfony/asset: ~2.7|~3.0.0
- symfony/console: ~2.8|~3.0.0
- symfony/expression-language: ~2.4|~3.0.0
- symfony/finder: ~2.3|~3.0.0
- symfony/form: ^2.8.23
- symfony/http-kernel: ~2.8|~3.0.0
- symfony/polyfill-intl-icu: ~1.0
- symfony/routing: ~2.2|~3.0.0
- symfony/security: ~2.6|~3.0.0
- symfony/security-acl: ~2.6|~3.0.0
- symfony/stopwatch: ~2.2|~3.0.0
- symfony/templating: ~2.1|~3.0.0
- symfony/translation: ~2.7|~3.0.0
- symfony/var-dumper: ~2.7.16|~2.8.9|~3.0.9
- symfony/yaml: ^2.0.5|~3.0.0
- xlabs/mmadminbundle: ^2.0
Suggests
- symfony/asset: For using the AssetExtension
- symfony/expression-language: For using the ExpressionExtension
- symfony/finder: For using the finder
- symfony/form: For using the FormExtension
- symfony/http-kernel: For using the HttpKernelExtension
- symfony/routing: For using the RoutingExtension
- symfony/security: For using the SecurityExtension
- symfony/stopwatch: For using the StopwatchExtension
- symfony/templating: For using the TwigEngine
- symfony/translation: For using the TranslationExtension
- symfony/var-dumper: For using the DumpExtension
- symfony/yaml: For using the YamlExtension
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