Skip to content

Releases: certificationy/certificationy

v2.2.0

05 Mar 15:02
2cc1a77
Compare
Choose a tag to compare

CHANGELOG

Thanks to all the contributors !

V2.1.0

09 Apr 21:33
cd6a7f1
Compare
Choose a tag to compare

CHANGELOG

416b57e Symfony 4 support
796630d Updated Composer configuration

V2.0.1

31 Jul 20:19
Compare
Choose a tag to compare

CHANGELOG

e18e9a5 Fixed error in YamlLoader by @20uf
64c363d Improved readme by @20uf

Thank you!

v2 stable is here \o/

03 May 16:11
Compare
Choose a tag to compare

Certificationy

Join the chat at https://gitter.im/certificationy/certificationy Build Status SensioLabsInsight

Certificationy provides a complete system to build multiple choice question system. This is useful for any company that need to test an applicant,
or to make a certification website/training tool.

How to use it?

Inside any PHP application

As usual, use composer to install the library:

composer require "certificationy/certificationy"

Then, you need to load questions using a loader: for now only PhpArray and Yaml loaders
are provided, but thanks to the Loader interface you can create your owns.

For instance, let's say you have created a Yaml file with some few questions:

# question.yaml
category: basics
questions:
    -
        question: '2 + 2 = ?'
        answers:
            - {value: 4,           correct: true}
            - {value: 3,           correct: false}
            - {value: 2,           correct: false}

Then you can do:

<?php
use Certificationy\Loaders\YamlLoader;

$loader = new YamlLoader(['path/to/question.yaml']);
$questions = $loader->load(1, []); // (nbQuestions, fromCategories)
$loader->categories(); // ['basics']

$set = Set::create($questions);

Then, for each question you can set user answers (as answers can be multiple):

<?php
 $set->setUserAnswers(0, [4]); // (questionIndex, [values])

At every moment, you can get the correct and wrong answers (non answered questions are wrong).

$set->getCorrectAnswers();
$set->getWrongAnswers();

v2 beta

01 May 17:31
Compare
Choose a tag to compare
v2 beta Pre-release
Pre-release

Certificationy v.2 is here!

Certificationy provides a complete system to build multiple choice question system. This is useful for any company that need to test an applicant,
or to make a certification website/training tool.

How to use it?

Inside any PHP application

As usual, use composer to install the library:

composer require "certificationy/certificationy"

Then, you need to load questions using a loader: for now only PhpArray and Yaml loaders
are provided, but thanks to the Loader interface you can create your owns.

For instance, let's say you have created a Yaml file with some few questions:

# question.yaml
category: basics
questions:
    -
        question: '2 + 2 = ?'
        answers:
            - {value: 4,           correct: true}
            - {value: 3,           correct: false}
            - {value: 2,           correct: false}

Then you can do:

<?php
use Certificationy\Loaders\YamlLoader;

$loader = new YamlLoader(['path/to/question.yaml']);
$questions = $loader->load(1, []); // (nbQuestions, fromCategories)
$loader->categories(); // ['basics']

$set = Set::create($questions);

Then, for each question you can set user answers (as answers can be multiple):

<?php
 $set->setUserAnswers(0, [4]); // (questionIndex, [values])

At every moment, you can get the correct and wrong answers (non answered questions are wrong).

$set->getCorrectAnswers();
$set->getWrongAnswers();

CLI tool

A CLI tool is available under the following repository: http://www.github.com/certificationy/certificationy-cli.

Please, help us complete our official packs of questions!

You can submit PR with your own questions into the packs located under the Certificationy organization.

We provide packs for both PHP5 and Symfony certifications.

As of today (03/04/2017), Certificationy CLI uses Certificationy library 1.x branch.

More we will have questions, the more powerful will be this tool!

v1.5.0

03 Apr 12:04
Compare
Choose a tag to compare

CHANGELOG

0f81d5f Added Help question by @20uf
e8bd8f6 Updated CONTRIBUTING.md by @mickaelandrieu
b572325 Removed notion of web platform by @20uf
0e653bb Improved random selection by @Cronos87

v1.4.0

21 Aug 00:24
Compare
Choose a tag to compare

CHANGELOG

v1.3.0

07 Dec 13:06
Compare
Choose a tag to compare

CHANGELOG

8e7708e : Added support of Symfony3 and PHP 7.0

1.2.0: Merge pull request #55 from certificationy/uncouple-data

09 Feb 17:56
Compare
Choose a tag to compare

CHANGELOG

  • #55 Certificationy project is now uncoupled to data
  • update of Symfony certification pack in his own repository
  • new deck available: Zend PHP 5.5 certification in his own repository
  • dropped PHP 5.3 support