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

ActiveNeos-package

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 1mo ago8 watchersCompare

[ Source](https://github.com/Flowpack/restrict-creation)[ Packagist](https://packagist.org/packages/flowpack/restrictcreation)[ RSS](/packages/flowpack-restrictcreation/feed)WikiDiscussions master Synced 4d 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

47

—

FairBetter than 94% of packages

Maintenance58

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity72

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

1151d 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

[neos/neos-ui

Neos CMS UI written in React

2661.0M104](/packages/neos-neos-ui)[neos/form-builder

Flow Form Framework integration into Neos CMS

19347.1k18](/packages/neos-form-builder)[neos/demo

Site package for the Neos Demo Site

18181.0k6](/packages/neos-demo)[flowpack/media-ui

This module allows managing media assets including pictures, videos, audio and documents.

2184.5k2](/packages/flowpack-media-ui)[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)[flowpack/neos-matomo

Track visits of your Neos site with the Matomo Open Analytics Platform!

2337.6k](/packages/flowpack-neos-matomo)

PHPackages © 2026

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