This repository contains a PHP Quiz demo application, running on Mouf/Splash.
You can access the website by browsing http://demoquiz.mouf-php.com
It is part of a wider demo, showcasing how to deploy on same code in many different environments.
The quiz code is stored in the thecodingmachine/quiz-module
package.
It contains a generic PSR-7 compatible controller.
Using Mouf and a set of appropriate packages, the controller can then be deployed in a set of different environments:
- Mouf/Splash (demo) (this repository)
- Wordpress (demo) (code)
- Drupal 7 (demo) (code)
- Joomla (demo) (code)
- Magento (demo) (code)
- Clone the repository
- Run
composer install
- Browse to http://[your-website]/[path-to-website]/vendor/mouf/mouf and run Mouf install process
- You are done!
- Now, simply browse to: http://[your-website]/[path-to-website]/quiz