Download the PHP package oxcom/magento2-currency-services without Composer
On this page you can find all versions of the php package oxcom/magento2-currency-services. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package magento2-currency-services
Magento2 Currency Services
This is a module that allows to update currency rates from addition external sources.
List of source services
Notes
-
Fixer
Be aware that free access to Fixer API has limited functionality.
You can setup Access Token for Fixer API in your administration panel for Magento.
-
Google Finance
Google does not provide a public currency-rates API. This integration parses the requested currency pair from the Google Finance quote page.
Be aware that Google may change its HTML structure at any time.
-
European Central Bank
Be aware about low refresh rate
-
Bank of Canada
The keyless Valet API publishes indicative business-daily rates for selected currencies. Rates are based on Canadian dollars and are normally published by 16:30 ET.
Install
CLI commands
Rates can be imported manually per source, without waiting for cron or using the admin panel:
Each command fetches rates from the given source and saves them, same as admin System > Currency Rates > Import Now. Non-zero exit code + error output if a rate can't be retrieved.
Commands are registered via DI, so after install run setup:upgrade (and
setup:di:compile in production mode) / flush cache before they show up in
bin/magento list.
Tests
Tests use local fixtures by default, so the regular suite does not require network access:
Set CURRENCY_SERVICES_LIVE_TESTS=1 and FIXER_FREE_TOKEN to check the live
provider services. GitHub Actions runs that live suite against master every
Monday and Friday at 06:00 UTC.
Composer scripts are available for all checks:
All versions of magento2-currency-services with dependencies
ext-bcmath Version *
ext-simplexml Version *
ext-curl Version *
ext-json Version *
magento/module-config Version 100.0.*|100.1.*|101.0.*|101.1.*|101.2.*
magento/module-store Version 100.0.*|100.1.*|100.2.*|101.0.*|101.1.*
magento/module-backend Version 100.0.*|100.1.*|100.2.*|101.0.*|102.0.*|103.0.*
magento/module-directory Version 100.0.*|100.1.*|100.2.*|100.3.*|100.4.*
magento/framework Version ^103.0
psr/log Version ^1.1|^2.0|^3.0