This is example of doctrine 2 implementation as ORM to project
The source code implements simple model of football champ.
To check the app open CLI, go to the root of project dir and run following commands:
- Edit db connection params ( db_name / host / user / password ) in bootstrap.php
- create database <db_name>
- Run
composer install
- Run
php -f bootstrap.php
- If no errors, run
php -f run_champ.php
- To check some country team results run
php -f team_games.php country_name
country_name would be taken from countries.txt