2017 © Pedro PelĆ”ez
 

library certificationy

A library to create certification system

image

certificationy/certificationy

A library to create certification system

  • Sunday, June 3, 2018
  • by eko
  • Repository
  • 43 Watchers
  • 438 Stars
  • 7,242 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 88 Forks
  • 2 Open issues
  • 13 Versions
  • 2 % Grown

The README.md

, (*1)

Certificationy

This is 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., (*2)

Join the chat at https://gitter.im/certificationy/certificationy SensioLabsInsight, (*3)

How to use it?

Inside any PHP application

As usual, use composer to install the library:, (*4)

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., (*5)

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

# 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:, (*7)

<?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):, (*8)

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

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

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

CLI tool

A CLI tool is available under the following repository: http://www.github.com/certificationy/certificationy-cli., (*10)

Please, help us to complete our official packs of questions!

You can submit PR with your own questions into the packs located under the Certificationy organization., (*11)

We provide packs for both PHP5 and Symfony certifications., (*12)

More we will have questions, the more powerful will be this tool!, (*13)

The Versions

03/06 2018

dev-master

9999999-dev http://github.com/certificationy/certificationy

A library to create certification system

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Composieux

test php symfony exam certification

31/07 2017

v2.0-beta2

2.0.0.0-beta2 http://github.com/certificationy/certificationy

A library to create certification system

  Sources   Download

MIT

The Requires

 

The Development Requires

test php symfony exam certification

31/07 2017

v2.0.1

2.0.1.0 http://github.com/certificationy/certificationy

A library to create certification system

  Sources   Download

MIT

The Requires

 

The Development Requires

test php symfony exam certification

02/05 2017

v2

2.0.0.0 http://github.com/certificationy/certificationy

A library to create certification system

  Sources   Download

MIT

The Requires

 

The Development Requires

test php symfony exam certification

17/04 2017

v2.0-beta

2.0.0.0-beta http://github.com/certificationy/certificationy

A library to create certification system

  Sources   Download

MIT

The Requires

 

The Development Requires

test php symfony exam certification

26/03 2017

2.x-dev

2.9999999.9999999.9999999-dev http://github.com/certificationy/certificationy

A library to create certification system

  Sources   Download

MIT

The Requires

 

The Development Requires

test php symfony exam certification

26/03 2017

1.x-dev

1.9999999.9999999.9999999-dev http://github.com/certificationy/certificationy

A library to train on Symfony certification

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Composieux

test symfony exam certification

26/03 2017

1.5.0

1.5.0.0 http://github.com/certificationy/certificationy

A library to train on Symfony certification

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Composieux

test symfony exam certification

21/08 2016

1.4.0

1.4.0.0 http://github.com/certificationy/certificationy

A library to train on Symfony certification

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Composieux

test symfony exam certification

07/12 2015

1.3.0

1.3.0.0 http://github.com/certificationy/certificationy

A library to train on Symfony certification

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Composieux

test symfony exam certification

09/02 2015

1.2.0

1.2.0.0 http://github.com/certificationy/certificationy

A library to train on Symfony certification

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Composieux

test symfony exam certification

28/07 2014

1.1.0

1.1.0.0 http://github.com/certificationy/certificationy

A library to train on Symfony certification

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Composieux

test symfony exam certification

01/07 2014

1.0.0

1.0.0.0 http://github.com/certificationy/certificationy

A library to train on Symfony certification

  Sources   Download

MIT

The Requires

 

The Development Requires

by Vincent Composieux

test symfony exam certification