PHPackages                             chapagain/magento2-autocurrency - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. chapagain/magento2-autocurrency

ActiveMagento2-module

chapagain/magento2-autocurrency
===============================

Automatic Currency Switcher Extension for Magento 2

2.1.2(4y ago)132515OSL-3.0PHPPHP ~7.0.13||~7.1.0||~7.2.0||~7.3.0

Since Apr 5Pushed 4y ago4 watchersCompare

[ Source](https://github.com/chapagain/auto-currency-switcher-2)[ Packagist](https://packagist.org/packages/chapagain/magento2-autocurrency)[ RSS](/packages/chapagain-magento2-autocurrency/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Auto Currency Switcher 2 - Magento 2 Extension
==============================================

[](#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
------------

[](#prerequisite)

#### Enable Multiple Currency on your Magento 2 Store

[](#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
------------

[](#installation)

#### Manual 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

[](#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

[](#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
------------------------

[](#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](http://software77.net/geo-ip/) file
2. Extract the file. This will extract `IPtoCountry.csv` file.
3. Use [Ip2Country lookup classes for PHP](https://github.com/mgefvert/Ip2Country) to create binary-optimized version of the csv file.
4. Upload the binary file (`.dat` file) to your `[Module Folder]/geoip/ip2country/` folder.

Links
-----

[](#links)

- [BLOG: Auto Currency Switcher 2: Magento 2 Extension \[FREE\]](http://blog.chapagain.com.np/auto-currency-switcher-2-magento-2-extension-free/)
- [GitHub Repository: Magento 1.x - Auto Currency Switcher](https://github.com/chapagain/auto-currency-switcher)
- [BLOG: Magento 1.x Extension: Auto Currency Switcher](http://blog.chapagain.com.np/magento-extension-auto-currency-switcher-free/)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~493 days

Total

2

Last Release

1736d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e931a9c8fa06e06deee7a9ff6bb08c0813b5906ee9828921fe9712a4970d8752?d=identicon)[chapagain](/maintainers/chapagain)

---

Top Contributors

[![chapagain](https://avatars.githubusercontent.com/u/522616?v=4)](https://github.com/chapagain "chapagain (28 commits)")[![r-martins](https://avatars.githubusercontent.com/u/191149?v=4)](https://github.com/r-martins "r-martins (1 commits)")

---

Tags

currencygeoipgeoip-lookupmagento2magento2-extensionmagento2-free-extensionmagento2-moduleswitchcurrencymagentoswitcher

### Embed Badge

![Health badge](/badges/chapagain-magento2-autocurrency/health.svg)

```
[![Health](https://phpackages.com/badges/chapagain-magento2-autocurrency/health.svg)](https://phpackages.com/packages/chapagain-magento2-autocurrency)
```

###  Alternatives

[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8044.5M33](/packages/smile-elasticsuite)[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.2M1](/packages/fastly-magento2)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[fredden/magento2-module-javascript-error-reporting

A Magento 2 module which captures JavaScript errors for later review by website administrators

3138.1k](/packages/fredden-magento2-module-javascript-error-reporting)[opengento/module-category-import-export

This module add the capability to import and export the categories from the back-office.

119.1k](/packages/opengento-module-category-import-export)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

126.8k](/packages/mage-os-module-inventory-reservations-grid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
