PHPackages                             vanquyet/yii2-quiz - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vanquyet/yii2-quiz

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

vanquyet/yii2-quiz
==================

v1.0(8y ago)055MITJavaScript

Since Aug 16Pushed 8y agoCompare

[ Source](https://github.com/vanquyettran/yii2-quiz)[ Packagist](https://packagist.org/packages/vanquyet/yii2-quiz)[ RSS](/packages/vanquyet-yii2-quiz/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

**Step 1: Create quiz model**

Provide a `name` in human-language ...

**Step 2: Create results**

Provide a `name` in human-language

Provide a `title`, `description` and `content` to show for player what result is (optional)

Provide a `priority` to indicate one result will be chosen if there are two or more suiable result (optional)

Provide `canvas_with` and `canvas_height`

=============== *The order of step 3, 4, 5, 6 depends on value of their `global_exec_order`*

**Step 3: Create params**

Provide a `name` in human-language

Provide a `var_name`, only contains words, number, underscore, and no starts with number

Provide a `value` as function body, this function has no argument, and must return a value

Provide a `global_exec_order` as a number to indicate the order of execution for this param

**Step 4: Create characters**

Provide a `name` in human-language

Provide a `var_name`, only contains words, number, underscore, and no starts with number

Provide a `type` and `index` (with some `filter`s and `sorter`s are optional) for each character to find out a proper one from the run time list

Provide a `global_exec_order` as a number to indicate the order of execution for this character

**Step 5: Create character media**

Provide a `name` in human-language

Provide a `var_name`, only contains words, number, underscore, and no starts with number

Provide a `type` and `index` (with some `filter`s and `sorter`s are optional) for each character to find out a proper one from the run time list

Provide a `global_exec_order` as a number to indicate the order of execution for this character medium

Provide some `style`s to style this medium

**Step 6.1: Create input groups**

Provide a `name` in human-language

Provide a `title` for player (optional)

Provide a `global_exec_order` as a number to indicate the order of execution for this input group

**Step 6.2: Create inputs for each input group**

Provide a `var_name`, only contains words, number, underscore, and no starts with number

Provide a `type`. Types are consist of text, number, date, datetime, checkbox\_group, radio\_group, selectbox

Provide some `validator`s to validate input from player (optional)

Provide a `question` for player (optional)

Provide `row` and `column` to indicate position of this input on screen (optional)

**Step 6.3: Create input options for each input**

Provide a `value`

Provide a `content`, by default, it will be assigned by `value` (optional)

Provide a `score`, this score will be added to quiz total\_score (optional)

Provide some `result_poll`s to vote for proper result (optional)

Provide a `interpretation` to explain with player that why this option true or false, or any other reasons (optional)

Provide `row` and `column` to indicate position of this input on screen (optional)

*This step is required if input type is checkbox\_group, radio\_group or select\_box In these case, player only can choose one (or more with input type is checkbox\_group) option, and validator for input is unnecessary. If input type is not checkbox\_group, radio\_group or select\_box, these option is not required, but if provided, its still make sense. That is, if input from player is same with one of these options, score of this option will be added to total\_score of quiz. And via result poll(s), corresponding result will be increase its votes.*

===============

**Step 7: Create shapes**

Provide a `name` in human-language

Provide an `image_id` to refer to image that will be background of this shape (optional)

Provide a `text` to display on this shape (optional)

Provide some `style`s to style this shape

**Step 8: Add shapes and mediums to corresponding results**

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

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

Unknown

Total

1

Last Release

3240d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e8b08d86697ba624bd690757355b47fc21fd3a71205b6c5df8f2f17af1c6b0a?d=identicon)[vanquyettran](/maintainers/vanquyettran)

---

Top Contributors

[![vanquyettran](https://avatars.githubusercontent.com/u/27229722?v=4)](https://github.com/vanquyettran "vanquyettran (52 commits)")

### Embed Badge

![Health badge](/badges/vanquyet-yii2-quiz/health.svg)

```
[![Health](https://phpackages.com/badges/vanquyet-yii2-quiz/health.svg)](https://phpackages.com/packages/vanquyet-yii2-quiz)
```

###  Alternatives

[riari/laravel-forum

A Laravel package providing a solid foundation for building discussion forums

65097.7k3](/packages/riari-laravel-forum)[coderello/laraflash

Advanced flash messages for Laravel.

15737.2k1](/packages/coderello-laraflash)

PHPackages © 2026

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