PHPackages                             reach-digital/magento2-storeresolver - 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. reach-digital/magento2-storeresolver

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

reach-digital/magento2-storeresolver
====================================

1.0.8(1y ago)97.2k↓19%2[2 issues](https://github.com/ho-nl/magento2-ReachDigital_StoreResolver/issues)PHPPHP ~7.3.0||~7.4.0||~8.1.0||^8.2

Since Jun 30Pushed 1y ago4 watchersCompare

[ Source](https://github.com/ho-nl/magento2-ReachDigital_StoreResolver)[ Packagist](https://packagist.org/packages/reach-digital/magento2-storeresolver)[ RSS](/packages/reach-digital-magento2-storeresolver/feed)WikiDiscussions master Synced 1mo ago

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

Reach Digital Store Resolver
============================

[](#reach-digital-store-resolver)

[Changelog](CHANGELOG.md)

You are running a multi store with a specific catalog per domain.

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

[](#installation)

```
composer require reach-digital/magento2-storeresolver
```

Automatic mapping from Domain &gt; Store View
---------------------------------------------

[](#automatic-mapping-from-domain--store-view)

With the new implementation for the `StoreResolverInterface` the domains automatically get mapped to the correct store view. This reduces the need to modify code to get new domain names working.

1. Register your domain
2. Point the A-records to your server
3. Change index.php, .htaccess or nginx\_config file to activate your domain name `StoreResolver` solves this for you.

Add Store Code to Base URL
--------------------------

[](#add-store-code-to-base-url)

Store code will be removed from URL if added in the Base URL. Make sure to explicitly set `Base URL for Static View Files` and `Base URL for User Media Files` without the store code

ConfigurationValueBase URLBase URL for Static View FilesBase URL for User Media Files> It's not possible to have CMS pages with the same identifier as a store code!

> Important note:
> Base URLs which have no custom string set after the TLD, must be configured at website level, not on store level, else matching on URL can result in multiple stores, see `\Ho\StoreResolver\Model\StoreResolver::getAutoResolvedStore`

Store scope definition
----------------------

[](#store-scope-definition)

ProductDefaultWebsiteStore GroupStore ViewProduct prices✔✔Product tax class✔✔Product status✔✔Product visibility✔✔✔Product Inventory✔Product attributes / transl.✔✔✔Base currency✔✔(Default) display currency✔✔Category settings✔✔System configuration settings✔✔✔Root category configuration✔Orders✔✔Customers✔✔Known issues
------------

[](#known-issues)

### Resolving URLs to stores

[](#resolving-urls-to-stores)

Store resolving may fail if configured secure/unsecure URLs differ, see `\Ho\StoreResolver\Model\StoreUrls::getBaseUrls`, which only uses the unsecure base URL but should probably check the right one depending on `Request::isSecure()`

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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

Recently: every ~223 days

Total

10

Last Release

622d ago

Major Versions

0.9.0 → 1.0.02021-06-04

PHP version history (4 changes)0.9.0PHP ~7.1.0|~7.2.0|~7.3.0|~7.4.0

1.0.0PHP ~7.3.0||~7.4.0

1.0.5PHP ~7.3.0||~7.4.0||~8.1.0

1.0.6PHP ~7.3.0||~7.4.0||~8.1.0||^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/0888fc478bd0c10decb7b432a4a82688576f58cbc1360071b7ec76b29cfb3caa?d=identicon)[honl](/maintainers/honl)

---

Top Contributors

[![SimonPrins](https://avatars.githubusercontent.com/u/6427655?v=4)](https://github.com/SimonPrins "SimonPrins (18 commits)")[![hnsr](https://avatars.githubusercontent.com/u/459789?v=4)](https://github.com/hnsr "hnsr (13 commits)")[![Maikel-Koek](https://avatars.githubusercontent.com/u/6301809?v=4)](https://github.com/Maikel-Koek "Maikel-Koek (10 commits)")[![PascalBrouwers](https://avatars.githubusercontent.com/u/17834386?v=4)](https://github.com/PascalBrouwers "PascalBrouwers (10 commits)")[![joeriLock93](https://avatars.githubusercontent.com/u/54021976?v=4)](https://github.com/joeriLock93 "joeriLock93 (7 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (3 commits)")[![wimvdputten](https://avatars.githubusercontent.com/u/5382391?v=4)](https://github.com/wimvdputten "wimvdputten (2 commits)")[![paales](https://avatars.githubusercontent.com/u/1244416?v=4)](https://github.com/paales "paales (2 commits)")[![Tjitse-E](https://avatars.githubusercontent.com/u/14849044?v=4)](https://github.com/Tjitse-E "Tjitse-E (1 commits)")

### Embed Badge

![Health badge](/badges/reach-digital-magento2-storeresolver/health.svg)

```
[![Health](https://phpackages.com/badges/reach-digital-magento2-storeresolver/health.svg)](https://phpackages.com/packages/reach-digital-magento2-storeresolver)
```

PHPackages © 2026

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