Download the PHP package qtism/qtism without Composer
On this page you can find all versions of the php package qtism/qtism. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package qtism
Short Description OAT QTI-SDK
License GPL-2.0-only
Homepage http://www.taotesting.com
Informations about the package qtism
QTI Software Development Kit for PHP
An IMS QTI (Question & Test Interoperability) Software Development Kit for PHP 7.0 and higher supporting a wide range of features described by the IMS QTI specification family.
This implementation of QTI is under constant enhancement. The API of the master branch might change at any time.
Features
- Targets QTI 2.0, 2.1 and partially 2.2
- Complete QTI Information Model
- Complete QTI Rule Engine Support
- Custom Operator Hooks through PSR-0/PSR-4
- Wilbert Kraan's / Steve Lay's Goldilocks Rendering
- CSS Parser for direct QTI Information Model mapping at rendering time
- Item and Test Sessions (with lightning fast binary persistence)
- Nice and Clean API for QTI Document manipulation/traversal
- PreConditions & Branching
- Selection and Ordering
- Response, Outcome and Template Processing
- aria-* attributes
- Unit test driven
Installation (developers)
- Clone the repository.
- Make sure you know how Composer works and it is installed on your system.
- php composer.phar install
- You are ready!
Unit Tests (developers)
Run Unit Tests by invoking the following shell command:
Contribute
We are always looking for people to feed the project with:
- Bug reports
- Unit tests
- New features
QTI Item Session Management
Introduction Example
The following example demonstrates how to instantiate an item session for a given QTI XML item document. The item in use in this example is the "Composition of Water" item, from the QTI 2.1 Implementation Guide.
Multiple Attempts Example
As per the QTI specification, item sessions allow a single attempt to be performed by default. Trying to begin an attempt that will make the item session exceeding the maximum number of attempts will lead to a PHP exception, as in the following example.
If multiple attempts are permitted on a given assessmentItem, the itemSessionControl
's maxAttempts
attribute
can be modified to allow multiple or unlimited attempts that can be performed by a candidate.
You can get more information on the QTI-SDK GitHub Wiki!
QTI Rendering
The QTI Software Development Kit enables you to transform XML serialized QTI files
into their (X)HTML5 Goldilocks equivalent. The following shell command renders the path/to/qti.xml
QTI file into an HTML5
document using the (X)HTML5 Golidlocks rendering flavour with indentation formatting. The rendering output (stdout)
is redirected to the /home/jerome/qti.html
file.
For additional help and information, just call the help screen to know about the features provided by the rendering binaries!
Configuration
As for other major PHP frameworks such as Doctrine QTI-SDK makes use of annotations. In such a context, the two following Zend Opcache configuration directives must be configured as below.
All versions of qtism with dependencies
ext-date Version *
ext-dom Version *
ext-json Version *
ext-libxml Version *
ext-mbstring Version *
ext-simplexml Version *
league/flysystem Version ^1.0|2.1.1|^3.0
league/mime-type-detection Version ^1.0
oat-sa/lib-beeme Version 0.2.0
wp-cli/php-cli-tools Version 0.10.3