#clone
git clone https://github.com/aharabara/quizler
cd quizler
# deply database
docker-compose up
php ./bin/console d:m:m
# start basic http server
symfony server:start
# PHP package quiz
php ./bin/console quiz:generate ./vendor/<vendor>/<package>
# for Symfony bundles (requires bundle to be part of quizler project, WIP)
php ./bin/console quiz:generate --config bundle_config_name
# Typescript quiz
php ./bin/console quiz:generate ./node_modules/<path-to-package-root>
symfony/finder
symfony/console
symfony/serializer
symfony/yaml
- Create a quiz file (*.yaml)
- Replicate it into classes like
Quiz
andQuestion
- Create a
QuizLoader
that will load a file into aQuiz
structure using a serializer. - Setup a console command to iterate over a
Quiz
.