PHP Classes
elePHPant
Icontem

Online PHP Currency Converter: Allow users convert currency values online

Recommend this page to a friend!
  Info   View files Documentation   View files View files (33)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-10-16 (Yesterday) RSS 2.0 feedNot yet rated by the usersTotal: 42 This week: 42All time: 9,655 This week: 9Up
Version License PHP version Categories
cc 1.0MIT/X Consortium ...5PHP 5, Finances
Description Author

This package allows users convert currency values online.

It provides a Web interface to allow the users to enter an amount to be converted from one currency to another using rates stored in a database.

The package can also update the currency rates by pulling them from a remote server regularly.

Name: Stefan Ninic <contact>
Classes: 4 packages by
Country: Bosnia and Herzegovina Bosnia and Herzegovina
Innovation award
Innovation award
Nominee: 2x

 

Details

Online Currency Converter

Free online tool used to convert from one currency to another.

Requirements

1. Composer as package manager 2. Redis for cache operations 3. GIT - optional software

Before you begin please ensure that you have required technologies installed and ready to use.

How to setup application

Use GIT to pull this repository into your desired server directory or if you don't have or don't know how to use GIT download this repo manually.

Second, change working directory to application and use composer install to install project dependencies.

Before you can use application you must start Redis server with default parameters. Go to your terminal and type redis-server. NOTE! Please make sure you have {redis_installation_path}/src in your path.

Still in your application root folder execute php application/cronjobs/UpdateRates.php. Run crontab -e and add 0 php {path_to_application}/application/cronjobs/UpdateRates.php >/dev/null 2>&1 to it, this will update rates every hour.

Congratulations, you have finished setting up your application and redis database. You can start using it, point your browser to your application domain.

Additional setup

We'll assume that you use Apache web server.

For gzip compression and caching to work you must enable following Apache modules: - mod_expires - mod_gzip - mod_deflate - mod_headers

If you don't use Apache please consult your web server software provider documentation to how to enable those features.

  Files folder image Files  
File Role Description
Files folder imageapplication (1 file, 8 directories)
Files folder imagepublic (1 file, 2 directories)
Accessible without login Plain text file .zfproject.xml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file readme.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:42
This week:42
All time:9,655
This week:9Up