Calculates area of a triangle and diameter of a circle.


This app calculates area of a triangle and diameter of a circle.


If you don't have symfony binary installed, run this installer and follow instructions to create binary:

wget -O - | bash

Run following command inside terminal, in your local server root directory to download repository:

composer create-project solingenn/geometry-calculator:dev-master

After repository is downloaded, get into project dir:

cd geometry-calculator

and write following command:

symfony server:start

You should get output like this:

[OK] Web server listening
     The Web server is using PHP CLI 8.0.3

Copy link to your browser and follow links to desired calculator.

To run unit tests use this command from project root:

php ./vendor/bin/phpunit -v