- PHP 8.1.0 or higher;
- and the usual Symfony application requirements.
Clone repository:
https://github.com/natino45/easy-calc-api.git
composer install
symfony serve
Change numbers in the end point to values of your geometric shape
- Triangle
http://localhost:8000/triangle/3/6/8
- Circle
http://localhost:8000/circle/34