Download the PHP package vanquyet/yii2-quiz without Composer

On this page you can find all versions of the php package vanquyet/yii2-quiz. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package yii2-quiz

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 filters and sorters 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 filters and sorters 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 styles 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 validators 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_polls 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 totalscore 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 styles to style this shape

Step 8: Add shapes and mediums to corresponding results


All versions of yii2-quiz with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vanquyet/yii2-quiz contains the following files

Loading the files please wait ....