jandanielewicz/calculator

There is no license information available for the latest version (dev-master) of this package.

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

pkg:composer/jandanielewicz/calculator

dev-master 2022-07-28 19:28 UTC

This package is not auto-updated.

Last update: 2025-10-31 22:56:32 UTC


README

install:

composer require jandanielewicz/calculator:dev-master

API routes:

GET /api/add/{a}/{b}

GET /api/substract/{a}/{b}

GET /api/multiply/{a}/{b}

GET /api/divide/{a}/{b}

where {a}, {b} are int/float numbers

Tests: run vendor/bin/phpunit vendor/jandanielewicz/calculator/tests/ after running composer