Skip to content

Exchange Rates from HMRC

Notifications You must be signed in to change notification settings

reisroni/foreign-exchange-rates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Exchange Rates from HMRC

Topics

Resources

Stars

Watchers

Forks