Skip to content
This repository was archived by the owner on May 28, 2026. It is now read-only.

f2r/phpquiz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

343 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Quiz 🐘

This is the public repository of the https://phpquiz.xyz website. It's a Symfony 5.1 application trying to respect best practices.

Badges 🏅

All Contributors MIT License

SymfonyInsight

Requirements ⚙

Here are the versions I currently use:

  • Symfony CLI v4.18.4
  • Docker 19.03.12
  • Docker-compose 1.26.2
  • Yarn 1.22.4

How to install this project 📚

As you can see, there no "full-docker-setup" yet. But feel free to contribute if you want one, it would be nice.

To install and run the project, run the following commands:

  1. git clone git@github.com:strangebuzz/phpquiz.git
  2. cd phpquiz
  3. make install
  4. make run
  5. Browse http://127.0.0.1:8006

That's it; you should be ready to develop.

Dev 📔

You can find the dev notes in the README.txt file.

To see the changes you do to the assets (Js, CSS), you must run yarn watch with the following command:

$ make watch

Coding standards ✨

Execute this command to run PHPStan:

$ make cs

Tests ✅

Execute this command to run the PHPUnit tests:

$ make test

Deploy 🚀

There is a deploy file sample. To be able to deploy, copy it to config/prod/deploy.php and modify the settings it contains. Then you can deploy in production with:

$ make deploy

Contribute 🤝

Please create an an issue so we can talk about it.

Troubleshooting 🐛

  • Verify that you have at least PHP 7.4 (php -v).
  • In other cases, verify your versions and eventually submit a bug report.

All Contributors

Thanks goes out to all these wonderful people:


COil

Fred

About

This is the public repository of the phpquiz.xyz project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 69.6%
  • Twig 16.2%
  • JavaScript 5.2%
  • CSS 4.2%
  • Makefile 3.3%
  • Shell 1.5%