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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package magento2-currency-services

Magento2 Currency Services

CI

This is a module that allows to update currency rates from addition external sources.

List of source services
  1. Google Finance
  2. European Central Bank
  3. Fixer
  4. Bank of Canada
Notes
  1. 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.

  2. 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.

  3. European Central Bank

    Be aware about low refresh rate

  4. 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

PHP Build Version
Package Version
Requires php Version ~8.3.0||~8.4.0||~8.5.0
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package oxcom/magento2-currency-services contains the following files

Loading the files please wait ...