A Symfony project created on January 18, 2017, 1:08 pm.
This is a small application that will query the api api.fixer.io for
the Forex rates and do some data manipulation with it.
It will get the exchange rates for the 5 last weekdays and calculate the Min, Max and Average value
for these 5 days.
The rates are retrieved from the european central bank and the EUR is the base currency, so all the rates are relative to EUR.
The calculations are done for the currencies: CHF
, GBP
,
JPY
and USD
.
To install the application, you need to :
- Clone the repository:
git clone https://github.com/berserck/curstat.git
- Download Symphony:
curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony
- Make symphony executable:
chmod a+x /usr/local/bin/symfony
- Check if you have all the requirements installed:
php bin/symfony_requirements
- You will need composer installed: if composer is not installed check installation in Composer page.
- Instal dependencies:
php composer.phar install --no-dev --optimize-autoloader
- If you are using apache, see in the page Symphony Apache with mod_php
- If you added a new virtual server, don't forget to enable ist with:
a2ensite <newsite>
Released under MIT License