florianv / exchanger
Currency exchange rates framework for PHP
Installs: 4 019 549
Dependents: 13
Suggesters: 10
Security: 0
Stars: 186
Watchers: 12
Forks: 81
Open Issues: 7
Requires
- php: ^7.1.3 || ^8.0
- ext-json: *
- ext-libxml: *
- ext-simplexml: *
- php-http/client-implementation: ^1.0
- php-http/discovery: ^1.6
- php-http/httplug: ^1.0 || ^2.0
- php-http/message-factory: ^1.1
- psr/http-factory: ^1.0.2
- psr/simple-cache: ^1.0 || ^2.0 || ^3.0
- symfony/http-client: ^5.4
Requires (Dev)
- nyholm/psr7: ^1.0
- php-http/message: ^1.7
- php-http/mock-client: ^1.0
- phpunit/phpunit: ^7 || ^8 || ^9.4
Suggests
- php-http/guzzle6-adapter: Required to use Guzzle for sending HTTP requests
- php-http/message: Required to use Guzzle for sending HTTP requests
- dev-master / 2.x-dev
- 2.8.2
- 2.8.1
- 2.8.0
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.3
- 2.6.2
- 2.6.1
- 2.6.0
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.1
- 2.4.0
- 2.3.1
- 2.3.0
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.0
- 1.x-dev
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.7.0
- 0.6.1
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.1
- 0.2.0
- 0.1.0
- 0.0.0
- dev-analysis-lKrMZr
- dev-analysis-5ZYQEx
This package is auto-updated.
Last update: 2025-03-15 04:32:37 UTC
README
Exchanger is a PHP framework to work with currency exchange rates from various services such as Fixer, Currency Data or Exchange Rates Data. Looking for a simple library based on Exchanger ? Check out Swap !
Sponsors
Fixer is a simple and lightweight API for foreign exchange rates that supports up to 170 world currencies. | |
Currency Data provides reliable exchange rates and currency conversions for your business up to 168 world currencies. | |
Exchange Rates Data provides reliable exchange rates and currency conversions for your business with over 15 data sources. |
Documentation
The documentation for the current branch can be found here.
Services
Here is the complete list of the currently implemented services:
Service | Base Currency | Quote Currency | Historical |
---|---|---|---|
Fixer | EUR (free, no SSL), * (paid) | * | Yes |
Currency Data | USD (free), * (paid) | * | Yes |
Exchange Rates Data | USD (free), * (paid) | * | Yes |
Abstract | * | * | Yes |
coinlayer | * Crypto (Limited standard currencies) | * Crypto (Limited standard currencies) | Yes |
Fixer | EUR (free, no SSL), * (paid) | * | Yes |
currencylayer | USD (free), * (paid) | * | Yes |
exchangeratesapi | USD (free), * (paid) | * | Yes |
European Central Bank | EUR | * | Yes |
National Bank of Georgia | * | GEL | Yes |
National Bank of the Republic of Belarus | * | BYN (from 01-07-2016), BYR (01-01-2000 - 30-06-2016), BYB (25-05-1992 - 31-12-1999) |
Yes |
National Bank of Romania | RON, AED, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EGP, EUR, GBP, HRK, HUF, INR, JPY, KRW, MDL, MXN, NOK, NZD, PLN, RSD, RUB, SEK, TRY, UAH, USD, XAU, XDR, ZAR | RON, AED, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EGP, EUR, GBP, HRK, HUF, INR, JPY, KRW, MDL, MXN, NOK, NZD, PLN, RSD, RUB, SEK, TRY, UAH, USD, XAU, XDR, ZAR | Yes |
National Bank of Ukranie | * | UAH | Yes |
Central Bank of the Republic of Turkey | * | TRY | Yes |
Central Bank of the Republic of Uzbekistan | * | UZS | Yes |
Central Bank of the Czech Republic | * | CZK | Yes |
Central Bank of Russia | * | RUB | Yes |
Bulgarian National Bank | * | BGN | Yes |
WebserviceX | * | * | No |
1Forge | * (free but limited or paid) | * (free but limited or paid) | No |
Cryptonator | * Crypto (Limited standard currencies) | * Crypto (Limited standard currencies) | No |
CurrencyDataFeed | * (free but limited or paid) | * (free but limited or paid) | No |
Open Exchange Rates | USD (free), * (paid) | * | Yes |
Xignite | * | * | Yes |
Currency Converter API | * | * | Yes (free but limited or paid) |
xChangeApi.com | * | * | Yes |
fastFOREX.io | USD (free), * (paid) | * | No |
exchangerate.host | * | * | Yes |
Array | * | * | Yes |
Credits
License
The MIT License (MIT). Please see LICENSE for more information.