Download the PHP package thelia/contest-module without Composer

On this page you can find all versions of the php package thelia/contest-module. 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 contest-module

Contest

This module allow you to create basic QCM contest.

Scrutinizer Code Quality

Usage

Go to the tool menu and click on "Contest".

Create a Game

You have to the possibility to add a game wihout indexing it, just uncheck visible option

Check Users

On list game view you can click on user icon of a game to check users participant. You can generate a random winner too.

Configuration

WIN OPTION

Allow you to have page win/fail or joint participation page. ( default : true )

CONNECT OPTION

Allow you to restric contest to connected user. ( default : false )

MAX PARTICIPATION OPTION

Allow you to restrict participation for an email. ( default : 1 )

FRIEND OPTION

Allow you to activate friend invitation. ( default : false )

FRIEND MAX OPTION

Limit number of input email are provide for sending email. ( default : 5 )

Loop

Game

Input arguments

Argument Description
id filter by id
visible filter by visible
title filter by title
order order result by "id","id-reverse","visible","visible-reverse","title","title-reverse", "description","description-reverse"

Output Arguments

Variable Description
ID id
VISIBLE (boolean) visible
TITLE Game's title
DESCRIPTION Game's description

Question

Input arguments

Argument Description
id filter by id
visible filter by visible
title filter by title
game_id filter by game id
order order result by "id","id-reverse","visible","visible-reverse","title","title-reverse", "description","description-reverse", "game_id","game_id-reverse"

Output Arguments

Variable Description
ID id
VISIBLE (boolean) visible
TITLE Question's title
DESCRIPTION Question's description
GAME_ID Game's id

Answer

Input arguments

Argument Description
id filter by id
visible filter by visible
correct filter by correct
title filter by title
question_id filter by question id
order order result by "id","id-reverse","visible","visible-reverse","title","title-reverse", "description","description-reverse", "question_id","question_id-reverse","correct","correct-reverse"

Output Arguments

Variable Description
ID id
VISIBLE (boolean) visible
CORRECT (boolean) correct
TITLE Answer's title
DESCRIPTION Answer's description
QUESTION_ID Question's id

Participate

Input arguments

Argument Description
id filter by id
email filter by email
win filter by victory
game_id filter by game_id
customer_id filter by customer_id
order order result by "id","id-reverse","email","email-reverse","victory","victory-reverse", "game_id","game_id-reverse", "customer_id","customer_id-reverse"

Output Arguments

Variable Description
ID id
EMAIL email
WIN (boolean) victory
GAME_ID Game's id
CUSTOMER_ID Customer's id

All versions of contest-module with dependencies

PHP Build Version
Package Version
Requires thelia/installer Version ~1.1
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 thelia/contest-module contains the following files

Loading the files please wait ....