Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 694 Bytes

readme.md

File metadata and controls

27 lines (21 loc) · 694 Bytes

Installation

To install all dependencies, run:

docker-compose run --rm composer install

To run application itself, run:

docker-compose run --rm php php index.php

To run Behat tests, run:

docker-compose run --rm php ./vendor/bin/behat

To run ECS check, run:

docker-compose run --rm php ./vendor/bin/ecs check

CLI example

The reason behind

I just wanted to check out PHP 7.4 (especially new arrow functions and typed properties), League's CLImate library, Behat testing and running entire console PHP project from Docker. It was fun.

Someday probably I'll extend the game itself, just for the fun.