dev-master
9999999-dev
MIT
The Requires
- oscarotero/env ^1.0
- vlucas/phpdotenv ^2.4
- symfony/finder ^3.2
- knplabs/knp-snappy ^0.4.3
- league/csv ^8.2
- philo/laravel-blade ^3.1
- h4cc/wkhtmltopdf-amd64 ^0.12.3
Quiz-Maker is a small command line tool to convert csv files containing quizes to ready to print pdf files., (*1)
It is rather straightforward to use., (*2)
./quiz-maker.phar generate input.csv output.pdf
This will generate a PDF from the csv., (*3)
Use the following format in your csv file., (*4)
Question,Answer1,Answer2,Answer3,Correct,Image Vad är skalmans viktigaste uppfinning?,Självgående skottkärran,Mat och sovklockan,Sin helikopter,2, Vad är Dalarna?,Ett län,Ett land,En by,1,http://www.lansstyrelsen.se/dalarna/SiteCollectionImages/Sv/djur-och-natur/skyddad-natur/hela-lanet-400px.gif
Upcoming version will let you manually choose a css file. For now you need to rebuild the project after changing the question.css file., (*5)
Being lazy i have used phar/composer to generate the executable. So after making changes to the source-code, simply rebuild it like this: ``` phar-composer.phar build /path/to/quiz-maker, (*6)
```, (*7)
You need wkhtmltopdf to use this tool. if not found it will not generate any PDFs., (*8)
This tool was easily built using the dalnix/dalnix-cli command-line-tool-builder. And you know what? It was dead easy. Allthough not released as yet as there are some kinks to straighten out., (*9)
MIT