Warning
Version 2 (Microservice edition) for football-betting | no longer current, we have developed something new
- please make sure to have amqp-1.11.0beta or higher installed locally
composer install
docker-compose up -d
bash init.sh
- Execute following commands without getting any errors:
php vendor/bin/phpunit
vendor/bin/infection --only-covered --min-msi=100
vendor/bin/psalm
- to get all matches from the European Championship
bin/console football:matches
- to get only live matches from the European Championship
bin/console football:matches --live
- Start container:
docker-compose start
- Stop container:
docker-compose stop
- Admin Panel:
- Messenges are published to rabbitMq as Json:
{"event":"match.api","data":{"matchId":"2021-06-11:1900:TR-IT","team1":"TR","team2":"IT","matchDatetime":"2021-06-11 19:00"}}