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.6k↓29.6%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 yesterday

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

42

—

FairBetter than 88% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity75

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

676d 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://avatars.githubusercontent.com/u/15377342?v=4)[honl](/maintainers/honl)[@HonL](https://github.com/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)
```

###  Alternatives

[sarhan/php-flatten

Flattens multidimensional arrays, traversables and vars into one dimensional array.

22185.1k1](/packages/sarhan-php-flatten)[bartlett/sarif-php-sdk

PHP library to create and manipulate SARIF logs

1196.1k6](/packages/bartlett-sarif-php-sdk)[jtsternberg/shortcode-button

Tinymce and Quicktag buttons (and modals) for outputting shortcodes. Built to work with CMB2.

791.3k1](/packages/jtsternberg-shortcode-button)

PHPackages © 2026

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