Skip to content

Commit 3cea81a

Browse files
committed
fix
1 parent 735802d commit 3cea81a

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
[![Scrutinizer](https://img.shields.io/scrutinizer/g/florianv/laravel-swap.svg?style=flat-square)](https://scrutinizer-ci.com/g/florianv/laravel-swap)
66
[![Version](http://img.shields.io/packagist/v/florianv/laravel-swap.svg?style=flat-square)](https://packagist.org/packages/florianv/laravel-swap)
77

8-
Swap allows you to retrieve currency exchange rates from various services such as **[Fixer](https://fixer.io/)**, **[Currency Data](https://apilayer.com/marketplace/currency_data-api)**,
9-
**[Exchange Rates Data](https://apilayer.com/marketplace/exchangerates_data-api)** or **[Abstract](https://www.abstractapi.com)** and optionally cache the results.
8+
Swap allows you to retrieve currency exchange rates from various services such as **[Fixer](https://fixer.io/)**, **[Currency Data](https://currencylayer.com)**,
9+
**[Exchange Rates Data](https://exchangeratesapi.io)** or **[Abstract](https://www.abstractapi.com)** and optionally cache the results.
1010

1111
## Sponsors
1212

@@ -17,11 +17,11 @@ Swap allows you to retrieve currency exchange rates from various services such a
1717
</tr>
1818
<tr>
1919
<td><img src="https://assets.apilayer.com/apis/currency_data.png" width="50px"/></td>
20-
<td><a href="https://apilayer.com/marketplace/currency_data-api">Currency Data</a> provides reliable exchange rates and currency conversions for your business up to 168 world currencies.</td>
20+
<td><a href="https://currencylayer.com">Currency Data</a> provides reliable exchange rates and currency conversions for your business up to 168 world currencies.</td>
2121
</tr>
2222
<tr>
2323
<td><img src="https://assets.apilayer.com/apis/exchangerates_data.png" width="50px"/></td>
24-
<td><a href="https://apilayer.com/marketplace/exchangerates_data-api">Exchange Rates Data</a> provides reliable exchange rates and currency conversions for your business with over 15 data sources.</td>
24+
<td><a href="https://exchangeratesapi.io">Exchange Rates Data</a> provides reliable exchange rates and currency conversions for your business with over 15 data sources.</td>
2525
</tr>
2626
<tr>
2727
<td><img src="https://global-uploads.webflow.com/5ebbd0a566a3996636e55959/5ec2ba29feeeb05d69160e7b_webclip.png" width="50px"/></td>
@@ -120,8 +120,8 @@ Here is the list of the currently implemented services:
120120
| Service | Base Currency | Quote Currency | Historical |
121121
|---------------------------------------------------------------------------|----------------------|----------------|----------------|
122122
| [Fixer](https://fixer.io/) | EUR (free, no SSL), * (paid) | * | Yes |
123-
| [Currency Data](https://apilayer.com/marketplace/currency_data-api) | USD (free), * (paid) | * | Yes |
124-
| [Exchange Rates Data](https://apilayer.com/marketplace/exchangerates_data-api) | USD (free), * (paid) | * | Yes |
123+
| [Currency Data](https://currencylayer.com) | USD (free), * (paid) | * | Yes |
124+
| [Exchange Rates Data](https://exchangeratesapi.io) | USD (free), * (paid) | * | Yes |
125125
| [Abstract](https://www.abstractapi.com) | * | * | Yes |
126126
| [coinlayer](https://coinlayer.com) | * Crypto (Limited standard currencies) | * Crypto (Limited standard currencies) | Yes |
127127
| [Fixer](https://fixer.io) | EUR (free, no SSL), * (paid) | * | Yes |

config/swap.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@
8787
*/
8888
'services' => [
8989
'apilayer_fixer' => ['api_key' => 'Get your key here: https://fixer.io/'],
90-
'apilayer_currency_data' => ['api_key' => 'Get your key here: https://apilayer.com/marketplace/currency_data-api'],
91-
'apilayer_exchange_rates_data' => ['api_key' => 'Get your key here: https://apilayer.com/marketplace/exchangerates_data-api'],
90+
'apilayer_currency_data' => ['api_key' => 'Get your key here: https://currencylayer.com'],
91+
'apilayer_exchange_rates_data' => ['api_key' => 'Get your key here: https://exchangeratesapi.io'],
9292
'abstract_api' => ['api_key' => 'Get your key here: https://app.abstractapi.com/users/signup'],
9393
],
9494

doc/readme.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
</tr>
1010
<tr>
1111
<td><img src="https://assets.apilayer.com/apis/currency_data.png" width="50px"/></td>
12-
<td><a href="https://apilayer.com/marketplace/currency_data-api">Currency Data</a> provides reliable exchange rates and currency conversions for your business up to 168 world currencies.</td>
12+
<td><a href="https://currencylayer.com">Currency Data</a> provides reliable exchange rates and currency conversions for your business up to 168 world currencies.</td>
1313
</tr>
1414
<tr>
1515
<td><img src="https://assets.apilayer.com/apis/exchangerates_data.png" width="50px"/></td>
16-
<td><a href="https://apilayer.com/marketplace/exchangerates_data-api">Exchange Rates Data</a> provides reliable exchange rates and currency conversions for your business with over 15 data sources.</td>
16+
<td><a href="https://exchangeratesapi.io">Exchange Rates Data</a> provides reliable exchange rates and currency conversions for your business with over 15 data sources.</td>
1717
</tr>
1818
<tr>
1919
<td><img src="https://global-uploads.webflow.com/5ebbd0a566a3996636e55959/5ec2ba29feeeb05d69160e7b_webclip.png" width="50px"/></td>
@@ -110,16 +110,16 @@ Copy the [configuration](config/swap.php) to `/config/swap.php` if you wish to o
110110

111111
## Configuration
112112

113-
By default Swap uses the [Fixer](https://fixer.io/) service, and will fallback to [Currency Data](https://apilayer.com/marketplace/currency_data-api) in case of failure.
113+
By default Swap uses the [Fixer](https://fixer.io/) service, and will fallback to [Currency Data](https://currencylayer.com) in case of failure.
114114

115115
If you wish to use different services, you can modify the `services` configuration:
116116

117117
```php
118118
// app/config/swap.php
119119
'services' => [
120120
'apilayer_fixer' => ['api_key' => 'Get your key here: https://fixer.io/'],
121-
'apilayer_currency_data' => ['api_key' => 'Get your key here: https://apilayer.com/marketplace/currency_data-api'],
122-
'apilayer_exchange_rates_data' => ['api_key' => 'Get your key here: https://apilayer.com/marketplace/exchangerates_data-api'],
121+
'apilayer_currency_data' => ['api_key' => 'Get your key here: https://currencylayer.com'],
122+
'apilayer_exchange_rates_data' => ['api_key' => 'Get your key here: https://exchangeratesapi.io'],
123123
'abstract_api' => ['api_key' => 'Get your key here: https://app.abstractapi.com/users/signup'],
124124
]
125125
```
@@ -368,8 +368,8 @@ Here is the complete list of supported services and their possible configuration
368368
// app/config/swap.php
369369
'services' => [
370370
'apilayer_fixer' => ['api_key' => 'Get your key here: https://fixer.io/'],
371-
'apilayer_currency_data' => ['api_key' => 'Get your key here: https://apilayer.com/marketplace/currency_data-api'],
372-
'apilayer_exchange_rates_data' => ['api_key' => 'Get your key here: https://apilayer.com/marketplace/exchangerates_data-api'],
371+
'apilayer_currency_data' => ['api_key' => 'Get your key here: https://currencylayer.com'],
372+
'apilayer_exchange_rates_data' => ['api_key' => 'Get your key here: https://exchangeratesapi.io'],
373373
'abstract_api' => ['api_key' => 'Get your key here: https://app.abstractapi.com/users/signup'],
374374
'fixer' => ['access_key' => 'YOUR_KEY'],
375375
'currency_layer' => ['access_key' => 'secret', 'enterprise' => false],

0 commit comments

Comments
 (0)