PHPackages                             pdir/contao-survey - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. pdir/contao-survey

ActiveContao-bundle

pdir/contao-survey
==================

Contao bundle to create questionnaires and run online surveys

3.6.1(1y ago)42.2k—0%9[7 issues](https://github.com/pdir/contao-survey/issues)[2 PRs](https://github.com/pdir/contao-survey/pulls)LGPL-3.0-or-laterPHPPHP ^8.0CI failing

Since Dec 15Pushed 1y ago6 watchersCompare

[ Source](https://github.com/pdir/contao-survey)[ Packagist](https://packagist.org/packages/pdir/contao-survey)[ RSS](/packages/pdir-contao-survey/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (15)Versions (30)Used By (0)

pdir Fork

[![Latest Version on Packagist](https://camo.githubusercontent.com/c50051f47630fb7faa5e90a9a52528741cae453da4aa93294acf90be65c0d57a/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706469722f636f6e74616f2d7375727665792e7376673f7374796c653d666c6174)](https://packagist.org/packages/pdir/contao-survey)[![Installations via composer per month](https://camo.githubusercontent.com/61be3363fa2d0533bd7b2062f40bc3db4039683e8afcf5212b319f82fcb302ea/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f706469722f636f6e74616f2d7375727665792e7376673f7374796c653d666c6174)](https://packagist.org/packages/pdir/contao-survey)[![Installations via composer total](https://camo.githubusercontent.com/3a425fdde6541758f7182b395396f38ab75e5aa979dea7cebe3e130c1cf184d5/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706469722f636f6e74616f2d7375727665792e7376673f7374796c653d666c6174)](https://packagist.org/packages/pdir/contao-survey)[![Issue Resolution time](https://camo.githubusercontent.com/fc0950d68f9c8bc0afb22ddad1c0360961357912f5422a0486988207055cfc28/687474703a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f7265736f6c7574696f6e2f706469722f636f6e74616f2d7375727665792e737667)](https://github.com/pdir/contao-survey/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)[![Open issues](https://camo.githubusercontent.com/b9474bb6f6dadbd0f4376986ee42067ad034a1aa9c38e945266f7e0b99341d48/687474703a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f6f70656e2f706469722f636f6e74616f2d7375727665792e737667)](https://github.com/pdir/contao-survey/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)[![](https://camo.githubusercontent.com/b20898325b5d68e788b8200be7830ef1290a0cf144c8cf89d88cbfbc4abe7a8d/68747470733a2f2f636f6465636f762e696f2f67682f706469722f636f6e74616f2d7375727665792f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/pdir/contao-survey)[![](https://github.com/pdir/contao-survey/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/pdir/contao-survey/actions)

Original Package

[![Latest Version on Packagist](https://camo.githubusercontent.com/3859f5590646bb82d480d88f6a7097394d650615dbe458aae9b8dee68ac64c34/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f687363686f74746d2f636f6e74616f2d7375727665792e7376673f7374796c653d666c6174)](https://packagist.org/packages/hschottm/contao-survey)[![Installations via composer per month](https://camo.githubusercontent.com/e754a291486a542643eab47c9bfa2f90919ce3a58e2a3247a23fa9a2946be100/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f687363686f74746d2f636f6e74616f2d7375727665792e7376673f7374796c653d666c6174)](https://packagist.org/packages/hschottm/contao-survey)[![Installations via composer total](https://camo.githubusercontent.com/cfe488c867ea4965c396f7fa2c2f933fa58dc60818906bcf425d4df7bd66b81a/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f687363686f74746d2f636f6e74616f2d7375727665792e7376673f7374796c653d666c6174)](https://packagist.org/packages/hschottm/contao-survey)[![Issue Resolution time](https://camo.githubusercontent.com/5fa05859f6f215d2e208942eabdd262edf9f29af4f9eb78ecd1073fb9c32dfb9/687474703a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f7265736f6c7574696f6e2f687363686f74746d2f7375727665795f63652e737667)](https://github.com/hschottm/survey_ce/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)[![Open issues](https://camo.githubusercontent.com/52d5808813b1979d5e66026855ee75b6cd3037393206fbb3dd84ca82ff0b0d50/687474703a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f6f70656e2f687363686f74746d2f7375727665795f63652e737667)](https://github.com/hschottm/survey_ce/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc)

contao-survey
=============

[](#contao-survey)

A contao bundle to create online surveys. Supports multiple choice questions, openended questions, matrix questions and constant sum questions. Surveys can be run as anonymized or personalized surveys for specific members. Anonymized surveys can limited to TAN access only to run a representative survey.

Survey results are available as cumulated and detailed results with an option to export the results.

Exports will be in csv format. If the bundle [hschottm/contao-xls-export](https://packagist.org/packages/hschottm/contao-xls-export) is installed, exports will be in Excel xls format, if the bundle [phpoffice/phpspreadsheet](https://packagist.org/packages/phpoffice/phpspreadsheet) is installed, exports will be in Excel xlsx format.

A special thanks goes to Georg Rehfeld for his development of the detailed survey export and the enhancements of the survey tool.

Installation and Usage
----------------------

[](#installation-and-usage)

- Install the package.
- There is a new "Survey" menu item
- Add the new "Survey" content element directly to your pages.

Features from 3.6.0
-------------------

[](#features-from-360)

Notification Center support was added with version 3.6.0. Also, some new Notification Center tokens and new fields have been added.

#### The following NC tokens have been added:

[](#the-following-nc-tokens-have-been-added)

- \##survey\_title##
- \##survey\_link##
- \##survey\_duration##
- \##survey\_recipient\_email##
- \##survey\_recipient\_firstname##
- \##survey\_recipient\_lastname##
- \##survey\_recipient\_fullname##

For these tokens a German and an English translation is currently implemented.

#### The generation of TANs has been completely revised and the call of some TAN-related actions has been better secured.

[](#the-generation-of-tans-has-been-completely-revised-and-the-call-of-some-tan-related-actions-has-been-better-secured)

- When generating TANs, the system now distinguishes between the **individual survey types** itself.
- **The number** of "non-member related" TANs that can be generated with one request **is now limited to 999** and can be configured using the environment variable **MAX\_ALLOWED\_TAN**.
- Previously, it was possible to generate an infinite (or very large) number of TANs with one request, which could cause the PHP process to crash. Here, too, the environment variable **should be configured with care!**
- In most cases you **do not need more** than 999 TANs

#### When the NC is installed, notifications can be used for specific surveys.

[](#when-the-nc-is-installed-notifications-can-be-used-for-specific-surveys)

- Of course, Notifications must be **configured beforehand**.
- Invitations and reminders should be used together with **member groups**.
- Upon the user's instruction, the system **sends** invitations and reminders **to all** participants of a survey. **This can be serveral groups!**
- **Members who are in several groups** are automatically **notified only at once**.
- If the participants are not limited to one group, the system **sends invitations to all members!**
- The system takes into account the circumstances of **whether and when** participants to a survey have **already been invited** and **when and how often** they have been **reminded**.
- Thus, participants who **have already** been invited are **not invited again** and participants who have already been reminded are **logged**.
- The number of reminders sent is counted and is currently **not limited**.
- Participants who have **already started or finished** the survey **will not be** invited or reminded **again**.
- Sending an invitation or reminder **always requires** an association between the **survey and the survey page** in order to assign a **personalized link** to each participant.
- Invitations and reminders should be sent as a **single notification** - as **opposed to** sending via **BCC**. **The advantage** is that all **subscriber-related data are available** in each notification. **The disadvantage** is that several/many notifications have to be sent individually, **which costs time and resources**.

### A simple template for an invitation

[](#a-simple-template-for-an-invitation)

Copy and paste them into your notification.

```
We would like to invite you to participate in the following survey: ##survey_title##

the following tokens can be used:

survey_title: ##survey_title##
survey_link: ##survey_link##
survey_duration: ##survey_duration##
survey_recipient_email: ##survey_recipient_email##
survey_recipient_firstname: ##survey_recipient_firstname##
survey_recipient_lastname: ##survey_recipient_lastname##
survey_recipient_fullname: ##survey_recipient_fullname##`

```

A new **surveyDuration** field has been added. Now it is possible to include the estimated duration (in minutes, max 255 min) of a survey. Either it is estimated or the survey creator determines the duration during a self-test.

Licenses
========

[](#licenses)

### Font Awesome

[](#font-awesome)

The full suite of pictographic icons, examples, and documentation can be found at: The license file for font awesome is included in this package under [LICENSE\_FONT\_AWESOME](https://github.com/contao-themes-net/font-awesome-inserttag-bundle/blob/main/LICENSE_FONT_AWESOME)

- The Font Awesome font is licensed under the SIL Open Font License -
- Font Awesome CSS, LESS, and SASS files are licensed under the MIT License -
- The Font Awesome pictograms are licensed under the CC BY 3.0 License -
- Attribution is no longer required in Font Awesome 3.0, but much appreciated: "Font Awesome by Dave Gandy - "

Contributors
============

[](#contributors)

[ ![](https://camo.githubusercontent.com/779dc43f086e2539e6020553f13540e967b7d7f25161a196caca90f1eef63560/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d706469722f636f6e74616f2d737572766579)](https://github.com/pdir/contao-survey/graphs/contributors)Made with [contributors-img](https://contrib.rocks).

Notes for developers
====================

[](#notes-for-developers)

#### Run before commit

[](#run-before-commit)

```
vendor/bin/ecs check src tests
vendor/bin/phpstan analyse
vendor/bin/phpunit --colors=always

```

#### Test your changes using the survey tables included in the package.

[](#test-your-changes-using-the-survey-tables-included-in-the-package)

With version 3.4.3 we have added survey tables to the package to allow consistent testing. You can find the tables in the reference-survey.sql file in the \_misc folder. So if you want to test the behavior of your changed code in a reproducible way, please use these tables.

If you make changes to the survey tables, please commit them also to the reference-survey.sql so developers can test their own code against this reference survey.

Load the tables into your DB and activate Survey 1, which consists of five question pages and one results page. For now, you'll need to manually load these tables into your DB, but we're working on automating the tests a bit more.

The question pages cover all the questions that the package currently offers. The results page shows the results of the question pages. Currently, however, there are unfortunately still errors on the results page.

###  Health Score

40

—

FairBetter than 87% of packages

Maintenance22

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~92 days

Recently: every ~126 days

Total

23

Last Release

660d ago

PHP version history (4 changes)3.2.0-RC1PHP &gt;=5.6.0

3.3.0PHP ^7.2 || ^8.0

3.4.1PHP ^7.4 || ^8.0

3.6.1PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10244240?v=4)[Mathias Arzberger](/maintainers/MDevster)[@MDevster](https://github.com/MDevster)

---

Top Contributors

[![hschottm](https://avatars.githubusercontent.com/u/873113?v=4)](https://github.com/hschottm "hschottm (109 commits)")[![MDevster](https://avatars.githubusercontent.com/u/10244240?v=4)](https://github.com/MDevster "MDevster (93 commits)")[![koertho](https://avatars.githubusercontent.com/u/12064642?v=4)](https://github.com/koertho "koertho (50 commits)")[![fritzmg](https://avatars.githubusercontent.com/u/4970961?v=4)](https://github.com/fritzmg "fritzmg (10 commits)")[![seibtph](https://avatars.githubusercontent.com/u/17127525?v=4)](https://github.com/seibtph "seibtph (3 commits)")[![cmette](https://avatars.githubusercontent.com/u/13376233?v=4)](https://github.com/cmette "cmette (3 commits)")[![cdaecke](https://avatars.githubusercontent.com/u/2102444?v=4)](https://github.com/cdaecke "cdaecke (2 commits)")[![arboc](https://avatars.githubusercontent.com/u/4447843?v=4)](https://github.com/arboc "arboc (2 commits)")[![LinkingYou](https://avatars.githubusercontent.com/u/23259908?v=4)](https://github.com/LinkingYou "LinkingYou (1 commits)")[![amenk](https://avatars.githubusercontent.com/u/1087128?v=4)](https://github.com/amenk "amenk (1 commits)")[![akroii](https://avatars.githubusercontent.com/u/8830861?v=4)](https://github.com/akroii "akroii (1 commits)")

---

Tags

bundleextensionmodulecontaosurvey

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pdir-contao-survey/health.svg)

```
[![Health](https://phpackages.com/badges/pdir-contao-survey/health.svg)](https://phpackages.com/packages/pdir-contao-survey)
```

###  Alternatives

[hschottm/tags

tags is a Contao extension that provides an architecture to tag any Contao element.

1215.0k](/packages/hschottm-tags)[pdir/social-feed-bundle

Social feed extension for Contao CMS

1414.8k](/packages/pdir-social-feed-bundle)[inspiredminds/contao-fieldset-duplication

Contao extension to allow the duplication of form fieldsets in the front end by the user for additional input fields.

158.2k1](/packages/inspiredminds-contao-fieldset-duplication)[markocupic/contao-bundle-creator-bundle

This bundle provides a bundle maker for Contao 4.\*. The extension will create a fully working backend- or/and frontend module after you have defined a few parameters in the contao backend.

224.7k](/packages/markocupic-contao-bundle-creator-bundle)[dma/dma_simple_grid

Contao Extension for simple multiple grid-support

1020.0k](/packages/dma-dma-simple-grid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
