This project is a redesign of the original WordPress website. VarSports aims to highlight sports clubs in the Var region of France.
- Symfony 6.4
- PHP 8.3
- MariaDB
- Docker / FrankenPHP, only for the development environment
- Bootstrap 5.3 and some custom CSS
- Cropper.js for cropping images during uploads
- LiipImagine Bundle for handling image formats
- select2 to handle easily select with multiple choices
- CKEditor 5 to edit texts
- DataTables to handle easily some back-office dashboard to list elements with required pagination
- Bootstrap Icons for icons
- jQuery 3.7.1 for some libraries but not used in the custom JS and please don't use it :)
- Swiper.js for the carousel
- GitHub Actions for CI
- PHPStan at level 9 to check code consistency
- CS Fixer to apply best practices and automatically fix issues
- PHPUnit for unit and functional testing
- GrumPHP to check commit format and run some CI checks before pushing
- The .env file contains only development environment variables. The production variables need to be defined in a .env.local file, and you must run the command
composer dump-env prodon the production server. - If you have any doubts about the production server environment or if you need a list of required dependencies, you can check the Dockerfile.
- The docs folder at the root of the project contains the documentation for the FrankenPHP version used in this project.
- The Command classes are unnecessary for this project but have been retained as documentation.
- You can check the .github/workflows/ci.yml file to see the different instructions that are run, if you want to execute them manually.
- Each controller file contains only one route and method to adhere to the single responsibility principle.
- The project is hosted in a classic web server.