openwse / exchanger
Currency exchange rates framework for PHP
Installs: 12
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 88
pkg:composer/openwse/exchanger
Requires
- php: ^7.1.3 || ^8.0
- 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.0.2
- psr/simple-cache: ^1.0
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.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 not auto-updated.
Last update: 2025-10-24 11:48:09 UTC
README
Exchanger is a PHP framework to work with currency exchange rates from various services such as Fixer, currencylayer, exchangeratesapi or Abstract. 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. | |
| currencylayer provides reliable exchange rates and currency conversions for your business up to 168 world currencies. | |
| exchangeratesapi provides reliable exchange rates and currency conversions for your business with over 15 data sources. | |
| Abstract provides simple exchange rates for developers and a dozen of APIs covering thousands of use cases. |
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 |
| currencylayer | USD (free), * (paid) | * | Yes |
| exchangeratesapi | EUR (free), * (paid) | * | Yes |
| Abstract | * | * | Yes |
| coinlayer | * Crypto (Limited standard currencies) | * Crypto (Limited standard currencies) | Yes |
| European Central Bank | EUR | * | 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 |
| Central Bank of the Republic of Turkey | * | TRY | 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 |
| Array | * | * | Yes |
Credits
License
The MIT License (MIT). Please see LICENSE for more information.