Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
133 additions
and
22 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,31 @@ | ||
Exchange rate bundle | ||
==== | ||
*Fetch, store and use currency exchange rates in your application* | ||
==================== | ||
|
||
Exchange rate bundle is Symfony3 wrapper for [RunOpenCode/exchange-rate](https://github.com/RunOpenCode/exchange-rate) | ||
library. | ||
*Fetch, store and use currency exchange rates in your Symfony application* | ||
|
||
Exchange rate bundle is Symfony wrapper for [RunOpenCode/exchange-rate](https://github.com/RunOpenCode/exchange-rate) | ||
library. | ||
|
||
It will enable you to easily fetch, query and manage exchange rates in your | ||
Symfony application when dealing with payments and prices in foreign currencies. | ||
|
||
## Features | ||
|
||
- Easy integration with exchange rate sources | ||
(such as [National bank of Serba](https://github.com/RunOpenCode/exchange-rate-nbs) | ||
and [Banca Intesa Serbia](https://github.com/RunOpenCode/exchange-rate-intesa-rs)) via configuration. | ||
- Console commands for debugging configuration. | ||
- Console commands for fetching configured rates via cron tasks or queue | ||
implementations. | ||
- Configurable e-mail notifications support for successful retrieval of | ||
rates, as well as errors. | ||
- CRUD controllers for viewing, editing, deleting and creating rates, with | ||
configurable role-based security. | ||
- Public REST api enabling you to deliver rates to other applications | ||
and third parties. | ||
- Easy extensibility and customization of each portion of bundle. | ||
|
||
## Table of contents | ||
|
||
- [Instalation](installation.md) | ||
- [Configuration](configuration.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Installation | ||
============ | ||
|
||
## Step 1. - Download the Bundle | ||
|
||
Open a command console, enter your project directory, and execute the | ||
following command to download the latest stable version of this bundle | ||
and add it as a dependency to your project: | ||
|
||
composer require runopencode/exchange-rate-bundle | ||
|
||
## Step 2. - Enable the Bundle | ||
|
||
Enable the bundle by adding `new RunOpenCode\Bundle\ExchangeRate\ExchangeRateBundle()` | ||
to the bundles array of the registerBundles method in your project's | ||
`app/AppKernel.php` file: | ||
|
||
<?php | ||
|
||
// app/AppKernel.php | ||
|
||
// ... | ||
class AppKernel extends Kernel | ||
{ | ||
public function registerBundles() | ||
{ | ||
$bundles = array( | ||
// ... | ||
new RunOpenCode\Bundle\ExchangeRate\ExchangeRateBundle() | ||
); | ||
// ... | ||
} | ||
// ... | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters