PHPackages                             flownative/neos-hostbaseddefaultpreset - 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. flownative/neos-hostbaseddefaultpreset

ActiveNeos-package[Utility &amp; Helpers](/categories/utility)

flownative/neos-hostbaseddefaultpreset
======================================

This allows to have the default preset for content dimensions change depending on the hostname of a site

0.0.8(3y ago)75.8k↓50%6MITPHP

Since Nov 21Pushed 3y ago2 watchersCompare

[ Source](https://github.com/flownative/neos-hostbaseddefaultpreset)[ Packagist](https://packagist.org/packages/flownative/neos-hostbaseddefaultpreset)[ RSS](/packages/flownative-neos-hostbaseddefaultpreset/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (9)Used By (0)

[![MIT license](https://camo.githubusercontent.com/4661abfe916186acde514558e7f040833cb63ba7098401a51ce339cbb2b4cf9e/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](http://opensource.org/licenses/MIT)[![Packagist](https://camo.githubusercontent.com/e5d273be65ee6193cd89d68bc339797c4bf57c392006ff8ef4c13758ae8a6774/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666c6f776e61746976652f6e656f732d686f7374626173656464656661756c747072657365742e737667)](https://packagist.org/packages/flownative/neos-hostbaseddefaultpreset)[![Maintenance level: Friendship](https://camo.githubusercontent.com/1e42f66452ae2f07329d87d031d01ae1825930fcd952c6a0f052ccfeaeaf0292/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e74656e616e63652d2545322539392541312545322539392541312d6666363962342e737667)](https://www.flownative.com/en/products/open-source.html)

Host-based Content Dimension Default Presets for Neos
=====================================================

[](#host-based-content-dimension-default-presets-for-neos)

This allows to have the default preset for content dimensions change depending on the hostname of a site.

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

[](#installation)

`composer require flownative/neos-hostbaseddefaultpreset`

Configuration
-------------

[](#configuration)

After setting up your content dimensions as usual, configure the default presets per content dimension like this:

```
Flownative:
  Neos:
    HostBasedDefaultPreset:
      dimensions:
        'language':
          defaultPresetByHost:
            'acme.com': 'en'
            'acme.de': 'de'

```

If you like, you can configure the package to set the `uriSegment` for each default preset to an empty string:

```
Flownative:
  Neos:
    HostBasedDefaultPreset:
      forceEmptyUriSegment: true

```

This way the default dimension value "disappears" from the URL. Make sure to set a segment for all values in the "real" dimension configuration, to be able to switch on all hosts without issues!

Credits
-------

[](#credits)

Development of this package has been sponsored by web&amp;co OG, Vienna, Austria.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.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 ~246 days

Recently: every ~321 days

Total

8

Last Release

1368d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10280881?v=4)[Flownative](/maintainers/flownative)[@flownative](https://github.com/flownative)

---

Top Contributors

[![kdambekalns](https://avatars.githubusercontent.com/u/95873?v=4)](https://github.com/kdambekalns "kdambekalns (11 commits)")[![gjwnc](https://avatars.githubusercontent.com/u/19683930?v=4)](https://github.com/gjwnc "gjwnc (2 commits)")[![mchh](https://avatars.githubusercontent.com/u/523953?v=4)](https://github.com/mchh "mchh (1 commits)")

### Embed Badge

![Health badge](/badges/flownative-neos-hostbaseddefaultpreset/health.svg)

```
[![Health](https://phpackages.com/badges/flownative-neos-hostbaseddefaultpreset/health.svg)](https://phpackages.com/packages/flownative-neos-hostbaseddefaultpreset)
```

###  Alternatives

[sitegeist/monocle

An living-styleguide for Neos that is based on the actual fusion-code

45315.9k10](/packages/sitegeist-monocle)[sitegeist/kaleidoscope

Responsive-images for Neos

29352.4k10](/packages/sitegeist-kaleidoscope)[flowpack/listable

Tiny extension for listing things

35209.0k7](/packages/flowpack-listable)[kaufmanndigital/gdpr-cookieconsent

A ready-to-run package, that integrates an advanced cookie consent banner into your Neos CMS site.

2540.7k](/packages/kaufmanndigital-gdpr-cookieconsent)[neos/seo

SEO configuration and tools for Neos

13990.5k24](/packages/neos-seo)[shel/neos-colorpicker

A plugin for Neos CMS which provides a colorpicker editor

1494.4k6](/packages/shel-neos-colorpicker)

PHPackages © 2026

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