Skip to content

Banzay52/doctrine_example

Repository files navigation

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:

  1. Edit db connection params ( db_name / host / user / password ) in bootstrap.php
  2. create database <db_name>
  3. Run

composer install

  1. Run

php -f bootstrap.php

  1. If no errors, run

php -f run_champ.php

  1. To check some country team results run

php -f team_games.php country_name

country_name would be taken from countries.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages