Download the PHP package sitegeist/silhouettes without Composer
On this page you can find all versions of the php package sitegeist/silhouettes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sitegeist/silhouettes
More information about sitegeist/silhouettes
Files in sitegeist/silhouettes
Package silhouettes
Short Description Preconfigure property-silhuettes that can be applied to various properties of multiple NodeTypes.
License GPL-3.0-or-later
Informations about the package silhouettes
Sitegeist.Silhouettes
Neos 7.0 includes the features of Sitegeist.Silhouettes as NodeType presets. This package will be abandoned in favor of that eventually!
Centralized property configuration for the Neos.ContentRepository
It is common that properties in various NodeTypes are expected to behave identically. This is usually achieved with mixins but those are bound to a fixed property name do not cover the case where properties with different names share similarities.
The Sitegeist.Silhouettes package uses preconfigured
property-configurations from the settings in multiple NodeTypes. This
adds a way to centralize property-configuration for cases where mixins
are not sufficient and settings shall be synchronized betweeen
properties with different names.
It is also possible to create silhouettes for childNode constraint configurations, e.g. to apply the same centralized constraints to different childNodes following the dry principle. This can also be useful when using a single NodeType package in different neos instances where the constraints may differcenate.
The settings from the configured silhouette are merged with the configuration that is found in the nodeType with the local configuration taking precedence over the silhouette.
Authors & Sponsors
- Martin Ficzel - [email protected]
The development and the public-releases of this package is generously sponsored by our employer http://www.sitegeist.de.
Usage
Settings.yaml
NodeTypes.yaml
Predefined silhouettes
text.plain: An inline editable string where no formatting is allowed.text.block: An inline editable string where only inline formatting is enabled.text.free: An inline editable string where all formatting including blocks is allowed.
Installation
Sitegeist.Silhouettes is available via packagist. Add "sitegeist/silhouettes" : "^1.0"
to the require section of the composer.json or run composer require sitegeist/silhouettes.
We use semantic-versioning so every breaking change will increase the major-version number.
Contribution
We will gladly accept contributions. Please send us pull requests.
All versions of silhouettes with dependencies
neos/content-repository Version ^4.0 || ^5.0 || ^7.0 || ^8.0 || dev-master
neos/utility-arrays Version ^5.0 || ^6.0 || ^7.0 || ^8.0 || dev-master