PHPackages                             flowpack/restrictcreation - 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. flowpack/restrictcreation

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

flowpack/restrictcreation
=========================

Restrict creation of nodes in certain content dimensions

1.0.0(3y ago)82.4k4[1 issues](https://github.com/Flowpack/restrict-creation/issues)[21 PRs](https://github.com/Flowpack/restrict-creation/pulls)MITJavaScriptCI failing

Since Oct 21Pushed 4mo ago8 watchersCompare

[ Source](https://github.com/Flowpack/restrict-creation)[ Packagist](https://packagist.org/packages/flowpack/restrictcreation)[ RSS](/packages/flowpack-restrictcreation/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (4)Dependencies (1)Versions (27)Used By (0)

Flowpack.RestrictCreation
=========================

[](#flowpackrestrictcreation)

Imagine the situation: you have a website with 'English (US)', 'English (UK)' and 'German' content dimensions present.

Now you never want editors to create new nodes directly in 'English (UK)', without first creating them in 'English (US)' and almost never in 'German', but some really rare cases.

This package provides an option to enforce these kind of constraints:

[![restrictcreation](https://user-images.githubusercontent.com/837032/47265437-80bfcc80-d530-11e8-8e86-d469e2fb7ba7.gif)](https://user-images.githubusercontent.com/837032/47265437-80bfcc80-d530-11e8-8e86-d469e2fb7ba7.gif)

Getting started:
----------------

[](#getting-started)

### Installation

[](#installation)

```
composer require flowpack/restrictcreation
```

### Configuration

[](#configuration)

Configure your dimensions in `Settings.yaml`, e.g. like this:

```
Neos:
  ContentRepository:
    contentDimensions:
      language:
        presets:
          en_US:
            label: 'English (US)'
            values:
              - en_US
            uriSegment: en
          en_UK:
            label: 'English (UK)'
            values:
              - en_UK
              - en_US
            uriSegment: uk
            restrictCreation:
              mode: disallow
              originPreset: en_US
          de:
            label: German
            values:
              - de
            uriSegment: de
            restrictCreation:
              mode: warn
              originPreset: en_US
              documentNodesOnly: true
```

- `mode: warn` would only give a warning about creating a node in a possible wrong dimensiong.
- `mode: disallow` would completely forbid creating new nodes in a certain dimension.
- `documentNodesOnly: true` would trigger the warning only for document nodes: you would be able to create content nodes as usual, but creating document nodes in that dimension would be blocked/warned.

Acknowledgments
---------------

[](#acknowledgments)

The initial development of this package is sponsored by [web&amp;co](http://webundco.com/).

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance49

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor2

2 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 ~537 days

Total

4

Last Release

1243d ago

Major Versions

0.3 → 1.0.02023-03-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e7861363bc4d9a01d804fb1823366c3e59f339542e3a4ea89f7cea7b0ea91af?d=identicon)[dimaip](/maintainers/dimaip)

---

Top Contributors

[![dimaip](https://avatars.githubusercontent.com/u/837032?v=4)](https://github.com/dimaip "dimaip (9 commits)")[![bwaidelich](https://avatars.githubusercontent.com/u/307571?v=4)](https://github.com/bwaidelich "bwaidelich (3 commits)")[![crydotsnake](https://avatars.githubusercontent.com/u/39345336?v=4)](https://github.com/crydotsnake "crydotsnake (3 commits)")[![samuelhauser](https://avatars.githubusercontent.com/u/1894064?v=4)](https://github.com/samuelhauser "samuelhauser (2 commits)")[![riea](https://avatars.githubusercontent.com/u/10829329?v=4)](https://github.com/riea "riea (1 commits)")[![sbruggmann](https://avatars.githubusercontent.com/u/1162368?v=4)](https://github.com/sbruggmann "sbruggmann (1 commits)")

### Embed Badge

![Health badge](/badges/flowpack-restrictcreation/health.svg)

```
[![Health](https://phpackages.com/badges/flowpack-restrictcreation/health.svg)](https://phpackages.com/packages/flowpack-restrictcreation)
```

###  Alternatives

[sitegeist/kaleidoscope

Responsive-images for Neos

29377.0k14](/packages/sitegeist-kaleidoscope)[neos/seo

SEO configuration and tools for Neos

131.0M35](/packages/neos-seo)[kaufmanndigital/gdpr-cookieconsent

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

2543.0k](/packages/kaufmanndigital-gdpr-cookieconsent)[techdivision/ckstyles

Neos package which enables you adding your custom style classes for the CkEditor with a simple Yaml configuration

21183.4k](/packages/techdivision-ckstyles)[neos/demo

Site package for the Neos Demo Site

18191.3k12](/packages/neos-demo)[psmb/flatnav

Custom navigation module for Neos CMS

2545.3k](/packages/psmb-flatnav)

PHPackages © 2026

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