Skip to content

Latest commit

 

History

History
81 lines (49 loc) · 1.68 KB

README.md

File metadata and controls

81 lines (49 loc) · 1.68 KB

Minimum PHP version: 8.1.0

Exchange Rates from HMRC

Check the foreign exchange monthly rates from HMRC.

HM Revenue & Customs

Exchange Rates


Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites/Requirements

Running

  • Go to the web-server document root directory, for example: /opt/lampp/htdocs or /var/www:
cd /opt/lampp/htdocs
  • Clone the project:
git clone https://git_url/foreign-exchange-rates.git

Or Download the latest archive and unzip it.

  • Run:
composer install
  • Launch the web-server

  • In a browser go to the web-server URL (e.g. http://localhost/public/index.php)

Tests

The project ships with unit and integration tests using Pest.

  • Run the unit tests throuh composer by running:
composer test:unit
  • Run the integration tests throuh composer by running:
composer test:integration
  • See the code coverage throuh composer by running (XDebug required):
composer test:coverage

The included composer.json file, has all the above scripts.

Built With

Author

  • Roni Reis (Rallien IT)