solingenn/geometry-calculator

Calculates area of a triangle and diameter of a circle.

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Type:project

pkg:composer/solingenn/geometry-calculator


README

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

SETUP

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

wget https://get.symfony.com/cli/installer -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
     http://127.0.0.1:8000

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