PHPackages                             anasstouaticoder/magento2-module-multi-store-run - 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. anasstouaticoder/magento2-module-multi-store-run

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

anasstouaticoder/magento2-module-multi-store-run
================================================

This module will simplify using multiple websites and store views in the same Magento instance.

1.0.10(1y ago)227MITPHP

Since Apr 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/anasstouaticoder/magento2-module-multi-store-run)[ Packagist](https://packagist.org/packages/anasstouaticoder/magento2-module-multi-store-run)[ RSS](/packages/anasstouaticoder-magento2-module-multi-store-run/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)DependenciesVersions (10)Used By (0)

Magento 2 Module AnassTouatiCoder MultiStoreRun
===============================================

[](#magento-2-module-anasstouaticoder-multistorerun)

Dynamically redirect to subdirectories or new domains for websites and storeviews

 [![Supported Magento Versions](https://camo.githubusercontent.com/01b5b8dc5f7e792cf6cc9965fd63b2fc4d5985be8f5ddd344711025f26d24ad7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d322e322532307c253230322e332532307c253230322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/01b5b8dc5f7e792cf6cc9965fd63b2fc4d5985be8f5ddd344711025f26d24ad7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d322e322532307c253230322e332532307c253230322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666c61742d737175617265) [![Latest Stable Version](https://camo.githubusercontent.com/7ce65fbc71feedf78327748761b4e0fdf2242a5309d6ef73bb4f13f07f441e1f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e617373746f75617469636f6465722f6d6167656e746f322d6d6f64756c652d6d756c74692d73746f72652d72756e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/anasstouaticoder/magento2-module-multi-store-run) [![Composer Downloads](https://camo.githubusercontent.com/0bf0ef2b6e4cdbed6e2a51aa5d527b97e3f84b85e9ca1f9b6e9bb4a8ed8cd6b1/68747470733a2f2f706f7365722e707567782e6f72672f616e617373746f75617469636f6465722f6d6167656e746f322d6d6f64756c652d6d756c74692d73746f72652d72756e2f646f776e6c6f616473)](https://packagist.org/packages/anasstouaticoder/magento2-module-multi-store-run) [![Maintained - Yes](https://camo.githubusercontent.com/04aba48520e6322ebc6c41b7995626a88ce408bd46ec4eb15ae474936b345276/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65642533462d7965732d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity) [![](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)

```
``anasstouaticoder/magento2-module-multi-store-run``

```

- [Main Functionalities](#markdown-header-main-functionalities)
- [Installation](#markdown-header-installation)
- [Specifications](#markdown-header-specifications)

Main Functionalities
--------------------

[](#main-functionalities)

Installation
------------

[](#installation)

\* = in production please use the `--keep-generated` option

### Type 1: Zip file

[](#type-1-zip-file)

- Unzip the zip file in `app/code/AnassTouatiCoder`
- Enable the module by running `php bin/magento module:enable AnassTouatiCoder_MultiStoreRun`
- Apply database updates by running `php bin/magento setup:upgrade`
- Flush the cache by running `php bin/magento cache:flush`
- Do not forget to flush cdn cache or varnish if exist

### Type 2: Composer

[](#type-2-composer)

- Make the module available in a composer repository for example:
    - private repository `repo.magento.com`
    - public repository `packagist.org`
    - public github repository as vcs
- Add the composer repository to the configuration by running `composer config repositories.repo.magento.com composer https://repo.magento.com/`
- Install the module composer by running `composer require anasstouaticoder/magento2-module-multi-store-run`
- enable the module by running `php bin/magento module:enable AnassTouatiCoder_MultiStoreRun`
- apply database updates by running `php bin/magento setup:upgrade`
- Flush the cache by running `php bin/magento cache:flush`
- Do not forget to flush cdn cache or varnish if exist

Specifications
--------------

[](#specifications)

This module make creating subdirectories or new domains for websites and storeveiws easier, when creating new website or storeview you do not need to create new subdirectory and new index.php file in /pub, the module detect the target website or storeview by adding its MAGE\_RUN\_CODE MAGE\_RUN\_TYPE in server variable then you will be redirected.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

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 ~62 days

Recently: every ~111 days

Total

9

Last Release

627d ago

### Community

Maintainers

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

---

Tags

magento 2multi-domainmulti-websiteMAGE\_RUN\_CODEMAGE\_RUN\_TYPEmulti-storeview

### Embed Badge

![Health badge](/badges/anasstouaticoder-magento2-module-multi-store-run/health.svg)

```
[![Health](https://phpackages.com/badges/anasstouaticoder-magento2-module-multi-store-run/health.svg)](https://phpackages.com/packages/anasstouaticoder-magento2-module-multi-store-run)
```

###  Alternatives

[magepal/magento2-googletagmanager

Google Tag Manager (GTM) for Magento 2 with Advance Data Layer

2671.5M4](/packages/magepal-magento2-googletagmanager)[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

2091.2M7](/packages/yireo-magento2-webp2)[mageplaza/magento-2-blog-extension

Magento 2 Blog extension

123708.2k5](/packages/mageplaza-magento-2-blog-extension)[mageplaza/magento-2-seo-extension

Magento 2 SEO extension

138506.6k2](/packages/mageplaza-magento-2-seo-extension)[magepal/magento2-reindex

Reindex your Magento2 store quickly and easily from backend/admin, instead of command line.

112649.7k1](/packages/magepal-magento2-reindex)[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)

PHPackages © 2026

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