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. [Utility &amp; Helpers](/categories/utility)
4. /
5. chapagain/magento2-autocurrency

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

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

Automatic Currency Switcher Extension for Magento 2

2.1.2(4y ago)132514OSL-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 3w 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

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

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

1786d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/522616?v=4)[Mukesh Chapagain](/maintainers/chapagain)[@chapagain](https://github.com/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

[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k24](/packages/loki-magento2-components)[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.4M1](/packages/fastly-magento2)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[fishpig/magento2-wordpress-integration

Securely integrate WordPress and Magento 2.

83369.2k7](/packages/fishpig-magento2-wordpress-integration)[joseph-leedy/module-custom-fees

Adds configurable custom fees to orders

361.1k](/packages/joseph-leedy-module-custom-fees)

PHPackages © 2026

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