|
1 | | -# FlorianvSwapBundle |
| 1 | +# <img src="https://s3.amazonaws.com/swap.assets/swap_logo.png" height="30px" width="30px"/> Symfony Swap |
2 | 2 |
|
3 | | -[![Build status][travis-image]][travis-url] |
4 | | -[![Version][version-image]][version-url] |
5 | | -[![Downloads][downloads-image]][downloads-url] |
| 3 | +[](https://travis-ci.org/florianv/symfony-swap) |
| 4 | +[](https://packagist.org/packages/florianv/symfony-swap) |
| 5 | +[](https://packagist.org/packages/florianv/symfony-swap) |
6 | 6 |
|
7 | | -> Integrates the [Swap](https://github.com/florianv/swap) library with Symfony |
| 7 | +Swap allows you to retrieve currency exchange rates from various services such as **[Fixer](https://fixer.io)**, **[currencylayer](https://currencylayer.com)** or **[1Forge](https://1forge.com)** |
| 8 | +and optionally cache the results. |
| 9 | + |
| 10 | +## QuickStart |
| 11 | + |
| 12 | +```bash |
| 13 | +$ composer require florianv/swap-bundle php-http/message php-http/guzzle6-adapter |
| 14 | +``` |
8 | 15 |
|
9 | 16 | ## Documentation |
10 | 17 |
|
11 | | -[Read the Documentation for master](https://github.com/florianv/FlorianvSwapBundle/blob/master/Resources/doc/index.md) |
| 18 | +The complete documentation can be found [here](https://github.com/florianv/symfony-swap/blob/master/Resources/doc/index.md). |
12 | 19 |
|
13 | | -All the installation instructions are located in the documentation. |
| 20 | +## Sponsors :heart_eyes: |
14 | 21 |
|
15 | | -## License |
| 22 | +We are proudly supported by the following echange rate providers offering *free plans up to 1,000 requests per day*: |
16 | 23 |
|
17 | | -This bundle is under the MIT license. See the complete license in the bundle: |
| 24 | +<img src="https://s3.amazonaws.com/swap.assets/fixer_icon.png?v=2" height="20px" width="20px"/> **[Fixer](https://fixer.io)** |
18 | 25 |
|
19 | | -``` |
20 | | -Resources/meta/LICENSE |
21 | | -``` |
| 26 | +Fixer is a simple and lightweight API for foreign exchange rates that supports up to 170 world currencies. |
| 27 | +They provide real-time rates and historical data, however, EUR is the only available base currency on the free plan. |
| 28 | + |
| 29 | +<img src="https://s3.amazonaws.com/swap.assets/currencylayer_icon.png" height="20px" width="20px"/> **[currencylayer](https://currencylayer.com)** |
| 30 | + |
| 31 | +Currencylayer provides reliable exchange rates and currency conversions for your business up to 168 world currencies. |
| 32 | +They provide real-time rates and historical data, however, USD is the only available base currency on the free plan. |
22 | 33 |
|
23 | | -[travis-url]: https://travis-ci.org/florianv/symfony-swap |
24 | | -[travis-image]: http://img.shields.io/travis/florianv/symfony-swap.svg |
| 34 | +<img src="https://s3.amazonaws.com/swap.assets/1forge_icon.png" height="20px" width="20px"/> **[1Forge](https://1forge.com)** |
25 | 35 |
|
26 | | -[version-url]: https://packagist.org/packages/florianv/swap-bundle |
27 | | -[version-image]: http://img.shields.io/packagist/v/florianv/swap-bundle.svg |
| 36 | +1Forge provides Forex and Cryptocurrency quotes for over 700 unique currency pairs. |
| 37 | +They provide the fastest price updates available of any provider, however, they don’t support smaller currencies or historical data. |
| 38 | + |
| 39 | +## Services |
| 40 | + |
| 41 | +Here is the list of the currently implemented services: |
| 42 | + |
| 43 | +| Service | Base Currency | Quote Currency | Historical | |
| 44 | +|---------------------------------------------------------------------------|----------------------|----------------|----------------| |
| 45 | +| [Fixer](https://fixer.io) | EUR (free, no SSL), * (paid) | * | Yes | |
| 46 | +| [currencylayer](https://currencylayer.com) | USD (free), * (paid) | * | Yes | |
| 47 | +| [1Forge](https://1forge.com) | * (free but limited or paid) | * (free but limited or paid) | No | |
| 48 | +| [European Central Bank](https://www.ecb.europa.eu/home/html/index.en.html) | EUR | * | Yes | |
| 49 | +| [National Bank of Romania](http://www.bnr.ro) | RON | * | Yes | |
| 50 | +| [Central Bank of the Republic of Turkey](http://www.tcmb.gov.tr) | * | TRY | No | |
| 51 | +| [Central Bank of the Czech Republic](https://www.cnb.cz) | * | CZK | Yes | |
| 52 | +| [Central Bank of Russia](https://cbr.ru) | * | RUB | Yes | |
| 53 | +| [WebserviceX](http://www.webservicex.net) | * | * | No | |
| 54 | +| [Google](https://www.google.com/finance) | * | * | No | |
| 55 | +| [Cryptonator](https://www.cryptonator.com) | * Crypto (Limited standard currencies) | * Crypto (Limited standard currencies) | No | |
| 56 | +| [CurrencyDataFeed](https://currencydatafeed.com) | * (free but limited or paid) | * (free but limited or paid) | No | |
| 57 | +| [Open Exchange Rates](https://openexchangerates.org) | USD (free), * (paid) | * | Yes | |
| 58 | +| [Xignite](https://www.xignite.com) | * | * | Yes | |
| 59 | +| Array | * | * | Yes | |
| 60 | + |
| 61 | +## Credits |
| 62 | + |
| 63 | +- [Florian Voutzinos](https://github.com/florianv) |
| 64 | +- [All Contributors](https://github.com/florianv/symfony-swap/contributors) |
| 65 | + |
| 66 | +## License |
28 | 67 |
|
29 | | -[downloads-url]: https://packagist.org/packages/florianv/swap-bundle |
30 | | -[downloads-image]: https://img.shields.io/packagist/dt/florianv/swap-bundle.svg |
| 68 | +The MIT License (MIT). Please see [LICENSE](https://github.com/florianv/symfony-swap/blob/master/Resources/meta/LICENSE) for more information. |
0 commit comments