module lwc-multiple-choice
ZF2 Module to create Multiple Choice Tests
lewildecode/lwc-multiple-choice
ZF2 Module to create Multiple Choice Tests
- Thursday, July 11, 2013
- by WebconsultsEU
- Repository
- 2 Watchers
- 0 Stars
- 1 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
LwcMultipleChoice
Version 0.0.1 Created by John Behrens, (*1)
Introduction
LwcMultipleChoice is an Zend Framework 2 Module created as example of how to combine ZF2 and Doctrine., (*2)
Requirements
-
Zend Framework 2 (latest master)
- [ZfcUser] (latest master).
- [Doctrine-ORM-Module] (latest master).
Features / Goals
- Provice [COMPLETE]
- User registration [COMPLETE]
- Forms protected against CSRF [COMPLETE]
- Out-of-the-box support for Doctrine2 and Zend\Db [COMPLETE]
- Registration form protected with CAPTCHA [IN PROGRESS] Needs more options
- Robust event system to allow for extending [IN PROGRESS]
- Support for additional authentication mechanisms via plugins (Google,
Facebook, LDAP, etc) [INCOMPLETE]
- Optional E-mail address verification [INCOMPLETE]
- Forgot Password [INCOMPLETE]
- Provide ActionController plugin and view helper [INCOMPLETE]
Installation
Main Setup
By cloning project
- Install the ZfcBase ZF2 module
by cloning it into
./vendor/
.
- Clone this project into your
./vendor/
directory.
With composer
-
Add Repositorie to Composer.json, (*3)
"repositories": [ {
"type": "vcs",
"url": "https://github.com/WebconsultsEU/LwcMultipleChoice.git"
}],
....
"require": {
....
"lewildecode/LwcMultipleChoice" : "dev-master"
....
}, (*4)
-
Now tell composer to download ZfcUser by running the command:, (*5)
$ php composer.phar update
-
Install the database structure
data/structure.sql to your sql server, (*6)
-
copy config/doctrine.php.dist as doctirne.php to your projects config dir
and change your database details, (*7)
Post installation
available sites, (*8)
route /testadmin is the admin channel, (*9)
Security
At the moment any ZfcUser registered user can edit at the moment,
autohorization will be changed in further projects, (*10)