PHPackages                             mvccore/app-questionnaires - 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. [Framework](/categories/framework)
4. /
5. mvccore/app-questionnaires

ActiveApplication[Framework](/categories/framework)

mvccore/app-questionnaires
==========================

MvcCore Application - Questionnaires &amp; Statistics - more complex example how to build very portable app with questionnaires definitions in XML, any question types also defined in XML and answers and anonymous statistics stored and loaded from mysql/mssql database.

v4.2.0(8y ago)3141BSD-3-ClauseJavaScriptPHP &gt;=5.3.0

Since Jan 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mvccore/app-questionnaires)[ Packagist](https://packagist.org/packages/mvccore/app-questionnaires)[ RSS](/packages/mvccore-app-questionnaires/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (7)Dependencies (2)Versions (8)Used By (0)

**THIS REPOSITORY IS DEPRECATED**
=================================

[](#this-repository-is-deprecated)

MvcCore - Application - Questionnaires &amp; Statistics
=======================================================

[](#mvccore---application---questionnaires--statistics)

[![Latest Stable Version](https://camo.githubusercontent.com/7ba149a8fc9d0b6dd34e2fdb03a1c548401ebca7c6bf9c0df8c8f94dde1dbed4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f537461626c652d76342e322e302d627269676874677265656e2e7376673f7374796c653d706c6173746963)](https://github.com/mvccore/app-questionnaires/releases)[![License](https://camo.githubusercontent.com/c5143de245d5a50be806c8728284ebb020dbab2276b1d84cb8e4ddaf0e45a9df/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e63652d4253442d627269676874677265656e2e7376673f7374796c653d706c6173746963)](https://github.com/mvccore/app-questionnaires/blob/master/LICENCE.md)[![Packager Build](https://camo.githubusercontent.com/2f2dd0f33a06b7cb9ab0f23fb84e6325f93be9e91757e7a1b2d52c46a6995b59/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5061636b616765722532304275696c642d70617373696e672d627269676874677265656e2e7376673f7374796c653d706c6173746963)](https://github.com/mvccore/packager)[![PHP Version](https://camo.githubusercontent.com/76dde1f500b6da89c2e2a22b7e1e91c8e11ec884bf3aaeb1d295a9ed2f17f605/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d352e332d627269676874677265656e2e7376673f7374796c653d706c6173746963)](https://camo.githubusercontent.com/76dde1f500b6da89c2e2a22b7e1e91c8e11ec884bf3aaeb1d295a9ed2f17f605/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d352e332d627269676874677265656e2e7376673f7374796c653d706c6173746963)

Demo
----

[](#demo)

- [**Questionnaire Form**](http://ankety.tomflidr.cz/questions/common-it-knowledge-en)
- [**Questionnaire Statistics**](http://ankety.tomflidr.cz/results/common-it-knowledge-en)

Features
--------

[](#features)

- [**MvcCore**](https://github.com/mvccore/mvccore) application managing questionnaires with anonymous statistics
- all questionnaires and questions readed from XML (dynamic forms completing by XML content)
- all answers stored in mysql/mssql database in 3 tables
- each questionnaire shoud have any number of questions
- possible answer types:
    - single line text
    - multiline text
    - number/float
    - checkbox - yes/no
    - checkbox - yes/no with additional single line text
    - checkbox group
    - radio buttons
    - connections for options
- each question has it's advanced configuration for answer(s) in custom XML file
- each questionnaire has it's own statistics for each question/answer(s)
    - rendered with [**Ext.JS 6.0.0-gpl graphs API**](http://examples.sencha.com/extjs/6.0.2/examples/kitchensink/?charts=true#all)
- questionnaire forms and statistic results have desktop and mobile version
- result application **currently packed in preserve package mode**, 4 packing configurations included in `./.packager/`
- packed with [**Packager library - mvccore/packager**](https://github.com/mvccore/packager)), all packing ways possible:
    - **PHAR file**
        - standard PHAR package with whole devel directory content
    - **PHP file**
        - **strict package**
            - everything is contained in result `index.php`
            - only `.htaccess` or `web.config` are necessary to use mod\_rewrite
        - **preserve package**
            - result `index.php` file contains PHP files, PHTML templates but no CSS/JS/fonts or images
            - all wrapped file system functions are looking inside package first, then they try to read data from HDD
            - currently used for packed app in result directory
        - **preserve hdd**
            - result `index.php` file contains PHP files, PHTML templates but no CSS/JS/fonts or images
            - all wrapped file system functions are looking on HDD first, then they try to read data from package inself
        - **strict hdd**
            - result `index.php` file contains only PHP files, but PHTML templates, all CSS/JS/fonts and images are on HDD
            - no PHP file system function is wrapped
- XML files for questionnaires and their questions are excluded from index.php result package, to define any other questionnaires and questions in future, but rest of the application is portable, it means everything else is contained in index.php result file.

Instalation
-----------

[](#instalation)

```
# load example
composer create-project mvccore/app-questionnaires

# go to project development directory
cd app-questionnaires/development

# update dependencies for app development sources
composer update
```

Build
-----

[](#build)

### 1. Prepare application

[](#1-prepare-application)

- go to `app-questionnaires/development`
- clear everything in `./Var/Tmp/`
- change `$app->Run();` to `$app->Run(1);` in `./index.php`
- visit all aplication routes where are different JS/CSS bundles groups to generate `./Var/Tmp/` content for result app
- run build process

### 2. Build

[](#2-build)

#### Linux:

[](#linux)

```
# go to project root directory
cd app-questionnaires
# run build process into single PHP file
sh make.sh
```

#### Windows:

[](#windows)

```
# go to project root directory
cd app-questionnaires
# run build process into single PHP file
make.cmd
```

#### Browser:

[](#browser)

```
# visit script `make-php.php` in your project root directory:
http://localhost/app-questionnaires/make-php.php
# now run your result in:
http://localhost/app-questionnaires/release/
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~45 days

Recently: every ~62 days

Total

7

Last Release

3137d ago

Major Versions

v2.0.0 → v3.0.02017-01-18

v3.0.0 → v4.0.02017-01-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/a68d9cd696ed584a9ee742fa089d0650f4f7a95754bf5d9ee301e6c9013df3fd?d=identicon)[tomFlidr](/maintainers/tomFlidr)

---

Top Contributors

[![tomFlidr](https://avatars.githubusercontent.com/u/1833722?v=4)](https://github.com/tomFlidr "tomFlidr (51 commits)")

---

Tags

frameworkmvcstatisticsquestionsquestionnairesmvccoresimple mvceasy mvcsuper fast mvcsingle file application

### Embed Badge

![Health badge](/badges/mvccore-app-questionnaires/health.svg)

```
[![Health](https://phpackages.com/badges/mvccore-app-questionnaires/health.svg)](https://phpackages.com/packages/mvccore-app-questionnaires)
```

PHPackages © 2026

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