Download the PHP package chapagain/magento2-autocurrency without Composer

On this page you can find all versions of the php package chapagain/magento2-autocurrency. 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-autocurrency

Auto Currency Switcher 2 - Magento 2 Extension

Automatically switches shop's currency to visitor's local currency - "Magento 2" Extension

Auto Currency extension tracks visitor's IP address and automatically changes the store currency to the visitor's location currency. Visitor can switch to his/her desired currency at any time.

This extension uses Webnet77's Ip2Country IP Address databases for IP Address lookup.

Prerequisite

Enable Multiple Currency on your Magento 2 Store

  1. Login to Magento 2 Admin
  2. Go to STORES -> Configuration -> GENERAL -> Currency Setup -> Currency Options
  3. In Allowed Currencies box, select the currencies that you want to enable on your site/store
  4. Now, go to STORES -> Currency Rates
  5. Import currency rates by clicking the Import button, Or add the rates manually
  6. Then, click the Save Currency Rates button

Installation

Manual Installation

  1. The module's files should be placed in folder: app/code/Chapagain/AutoCurrency
  2. Open terminal/command-prompt
  3. Go to your Magento website’s root directory with the following command:
    • cd /path/to/your/magento/root/directory
  4. Enable the module and clear static content with the following command:
    • php bin/magento module:enable Chapagain_AutoCurrency –clear-static-content
  5. Do setup upgrade with the following command:
    • php bin/magento setup:upgrade

Composer Installation

  1. Go to your Magento website’s root directory with the following command:
    • cd /path/to/your/magento/root/directory
  2. Run the following command:
    • composer require chapagain/magento2-autocurrency
  3. Enable the module and clear static content with the following command:
    • php bin/magento module:enable Chapagain_AutoCurrency –clear-static-content
  4. Do setup upgrade with the following command:
    • php bin/magento setup:upgrade

Configuration Settings

  1. Login to your Magento site's admin
  2. Go to STORES → Settings → Configuration page
  3. On left sidebar, click on CHAPAGAIN EXTENSIONS → Auto Currency menu
  4. From there, you can Enable/Disable the module. The module is enabled by default.

Updating GeoIP Databases

The GeoIP database should be updated from time to time in order to make this extension work accurately.

  1. Download IPV4 CSV file
  2. Extract the file. This will extract IPtoCountry.csv file.
  3. Use Ip2Country lookup classes for PHP to create binary-optimized version of the csv file.
  4. Upload the binary file (.dat file) to your [Module Folder]/geoip/ip2country/ folder.

Links


All versions of magento2-autocurrency with dependencies

PHP Build Version
Package Version
Requires php Version ~7.0.13||~7.1.0||~7.2.0||~7.3.0
magento/module-config Version *
magento/module-store Version *
magento/framework Version ~100.1 || ~101.0 || ~102.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 chapagain/magento2-autocurrency contains the following files

Loading the files please wait ....