doncho / calculator
There is no license information available for the latest version (dev-master) of this package.
Fee calculator.
dev-master
2020-04-12 15:16 UTC
Requires
- php: >=7.0.0
- ext-bcmath: *
Requires (Dev)
- phpunit/phpunit: ^6
This package is auto-updated.
Last update: 2024-09-13 02:03:19 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