Download .zip |
Info | Documentation | View files (33) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2019-10-16 (Yesterday) | Not yet rated by the users | Total: 42 This week: 42 | All time: 9,655 This week: 9 |
Version | License | PHP version | Categories | |||
cc 1.0 | MIT/X Consortium ... | 5 | PHP 5, Finances |
Description | Author | ||||||||||||||
This package allows users convert currency values online. |
|
Free online tool used to convert from one currency to another.
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.
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.
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 |
File | Role | Description | ||
---|---|---|---|---|
application (1 file, 8 directories) | ||||
public (1 file, 2 directories) | ||||
.zfproject.xml | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
readme.md | Doc. | Documentation |
Files | / | application |
File | Role | Description | ||
---|---|---|---|---|
configs (2 files) | ||||
controllers (3 files) | ||||
cronjobs (1 file) | ||||
extensions (2 directories) | ||||
forms (2 files) | ||||
layouts (1 directory) | ||||
models (2 files, 1 directory) | ||||
views (1 directory) | ||||
Bootstrap.php | Class | Class source |
Files | / | application | / | configs |
File | Role | Description |
---|---|---|
application.ini | Data | Auxiliary data |
rates_api.ini | Data | Auxiliary data |
Files | / | application | / | controllers |
File | Role | Description |
---|---|---|
ConvertController.php | Class | Class source |
ErrorController.php | Class | Class source |
IndexController.php | Class | Class source |
Files | / | application | / | extensions |
Files | / | application | / | extensions | / | converter |
File | Role | Description | ||
---|---|---|---|---|
interfaces (1 file) | ||||
Converter.php | Class | Class source |
Files | / | application | / | extensions | / | converter | / | interfaces |
File | Role | Description |
---|---|---|
ConverterInterface.php | Class | Class source |
Files | / | application | / | extensions | / | rates |
File | Role | Description | ||
---|---|---|---|---|
drivers (1 file) | ||||
interfaces (4 files) | ||||
values (2 files) | ||||
UpdateRates.php | Class | Class source |
Files | / | application | / | extensions | / | rates | / | drivers |
File | Role | Description |
---|---|---|
Redis.php | Class | Class source |
Files | / | application | / | extensions | / | rates | / | interfaces |
File | Role | Description |
---|---|---|
RateInterface.php | Class | Class source |
RatesCollectionInterface.php | Class | Class source |
RedisInterface.php | Class | Class source |
UpdateRatesInterface.php | Class | Class source |
Files | / | application | / | extensions | / | rates | / | values |
File | Role | Description |
---|---|---|
Rate.php | Class | Class source |
RatesCollection.php | Class | Class source |
Files | / | application | / | forms |
File | Role | Description |
---|---|---|
Convert.php | Class | Class source |
SelectElement.php | Class | Class source |
Files | / | application | / | models |
File | Role | Description | ||
---|---|---|---|---|
DbTable (1 file) | ||||
Rates.php | Class | Class source | ||
RatesMapper.php | Class | Class source |
Files | / | application | / | views | / | scripts |
Files | / | application | / | views | / | scripts | / | convert |
File | Role | Description |
---|---|---|
index.phtml | Data | Auxiliary data |
Files | / | application | / | views | / | scripts | / | error |
File | Role | Description |
---|---|---|
error.phtml | Example | Example script |
Files | / | application | / | views | / | scripts | / | index |
File | Role | Description |
---|---|---|
index.phtml | Example | Example script |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.