Skip to content

This is a simple PHP quiz that demonstrates Mouf integration with Wordpress

License

Notifications You must be signed in to change notification settings

thecodingmachine/quiz-demo-wordpress

Repository files navigation

Quiz demo: Mouf + Wordpress

This repository contains a PHP Quiz demo application, running on Wordpress.

You can access the website by browsing http://demoquiz-wordpress.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:

Installation

  • Clone the repository
  • Run composer install
  • Browse to the website root directory and run Wordpress install
  • Browse to http://[your-website]/[path-to-wordpress]/vendor/mouf/mouf and run Mouf install process
  • Connect to Wordpress administration http://[your-website]/[path-to-wordpress]/wp-admin
  • Click the Plugin menu, then activate the WP Router and the Moufpress plugin
  • You are done!
  • Now, simply browse to: http://[your-website]/[path-to-wordpress]/quiz

About

This is a simple PHP quiz that demonstrates Mouf integration with Wordpress

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published