This project calculates commissions for transactions based on BIN data and exchange rates. The commission rates vary based on whether the transaction's country is part of the European Union (EU) or not.
-
Clone the repository:
git clone https://github.com/Zingeon/rates.git
-
Navigate to the project directory:
cd rates
-
Install dependencies:
composer install
-
Copy the .env.example file to .env and fill in required data
php app.php input.txt
vendor/bin/phpunit