This project is a simple PHP application that uses the Exchange Rates API service to fetch and visualize target currency exchange rates for a specific base currency (EUR).
- Requires PHP 5.4 or newer.
- The
file_get_contents
function must be enabled.
- Clone this project from GitHub or download it as a zip.
- Add your Exchange Rates API key to the
$apiKey
variable in theindex.php
file. - Add or remove the desired target currencies in the
$targetCurrencies
array. - Upload the project to a web server or run it on a local server environment.
- Open the project directory in your web browser to view the exchange rates.
- Upon opening the homepage, a list will be displayed showing the exchange rates and percentage changes for the specified target currencies against the base currency (EUR).
- Each currency is indicated with a green or red label depending on whether it has increased or decreased.
- Additionally, the percentage change of each currency is also displayed next to it.
- Fork this repository and create a local copy.
- Create a new branch:
git checkout -b my-changes
- Make your modifications and commit them:
git commit -m 'Add my changes'
- Push your branch to push your changes to the main repository:
git push origin my-changes
- Create a pull request.
- Wait for our review! That's it. We welcome your contributions.
This project is licensed under the MIT License. For more information, please see the LICENSE
file.