Skip to content

Commit 0451883

Browse files
authored
Merge pull request #155 from rob-browncc/add-unirate-api-provider
docs: list unirate_api in provider tables
2 parents 98ed520 + a448918 commit 0451883

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Total Downloads](https://img.shields.io/packagist/dt/florianv/swap.svg?style=flat-square)](https://packagist.org/packages/florianv/swap)
66
[![Version](http://img.shields.io/packagist/v/florianv/swap.svg?style=flat-square)](https://packagist.org/packages/florianv/swap)
77

8-
> _The easy-to-use PHP currency conversion library. Retrieve exchange rates from 30 providers, with caching and fallback. Maintained since 2014._
8+
> _The easy-to-use PHP currency conversion library. Retrieve exchange rates from 31 providers, with caching and fallback. Maintained since 2014._
99
1010
<table>
1111
<tr>
@@ -101,7 +101,7 @@ For amount conversion (including the [moneyphp/money](https://github.com/moneyph
101101

102102
## 📊 Providers
103103

104-
Swap supports 30 exchange rate providers. Pass the **identifier** to `Builder::add()`.
104+
Swap supports 31 exchange rate providers. Pass the **identifier** to `Builder::add()`.
105105

106106
### Commercial providers (require an API key)
107107

@@ -123,6 +123,7 @@ Swap supports 30 exchange rate providers. Pass the **identifier** to `Builder::a
123123
| Fixer (direct) | `fixer` | EUR (free), * (paid) | * | Yes |
124124
| 1Forge | `forge` | * | * | No |
125125
| Open Exchange Rates | `open_exchange_rates` | USD (free), * (paid) | * | Yes |
126+
| UniRateAPI | `unirate_api` | * | * | Yes |
126127
| WebserviceX | `webservicex` | * | * | No |
127128
| xChangeApi.com | `xchangeapi` | * | * | Yes |
128129
| Xignite | `xignite` | * | * | Yes |
@@ -162,7 +163,7 @@ You can also add your own provider by implementing the `Exchanger\Contract\Excha
162163
The Swap ecosystem is a layered toolkit for currency conversion in PHP:
163164

164165
- [**Swap**](https://github.com/florianv/swap). The easy-to-use, high-level API (this package).
165-
- [**Exchanger**](https://github.com/florianv/exchanger). Lower-level, more granular alternative; direct access to the 30 provider implementations and the `ExchangeRateService` interface.
166+
- [**Exchanger**](https://github.com/florianv/exchanger). Lower-level, more granular alternative; direct access to the 31 provider implementations and the `ExchangeRateService` interface.
166167
- [**Laravel Swap**](https://github.com/florianv/laravel-swap). Laravel application of Swap.
167168
- [**Symfony Swap**](https://github.com/florianv/symfony-swap). Symfony integration of Swap.
168169

doc/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ Commercial providers require an API key. The option name varies by provider. The
281281
| `fixer_apilayer` | `api_key` | |
282282
| `forge` | `api_key` | |
283283
| `open_exchange_rates` | `app_id` | `enterprise` (bool) |
284+
| `unirate_api` | `api_key` | |
284285
| `xchangeapi` | `api-key` | (note the hyphen) |
285286
| `xignite` | `token` | |
286287

0 commit comments

Comments
 (0)