doncho / calculator
Fee calculator.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Type:project
pkg:composer/doncho/calculator
Requires
- php: >=7.0.0
- ext-bcmath: *
Requires (Dev)
- phpunit/phpunit: ^6
This package is auto-updated.
Last update: 2025-12-13 04:57:14 UTC
README
Commission fee calculator for cash in and cash out operations.
Installing
-
Option 1 - Download the app as zip file. Unzip the app in desired directory and go to the root directory of the app.
-
Option2 - Clone the repository. Run the following command:
git clone git@github.com:denjai/calculator.git
Install composer if you do not have it installed yet - https://getcomposer.org/download/.
Run the command:
composer dump-autoload -o
Usage
php service.php input.csv
Running tests
composer install
./vendor/bin/phpunit tests