punktde/neos-environment-display

Configure custom display-names for environments in the neos backend

Installs: 7 525

Dependents: 0

Suggesters: 0

Security: 0

Stars: 7

Watchers: 6

Forks: 0

Open Issues: 0

Language:JavaScript

Type:neos-package

1.0.1 2021-07-06 08:13 UTC

This package is auto-updated.

Last update: 2023-01-06 11:20:27 UTC


README

This package allows you to display information about your environment (or any other arbitrary information) in-line with the neos brand-icon.

One use-case would be to show, whether you're currently using the Development, Staging or Production instance.

Demo View

Install

Install via composer (composer2 is required): composer require punktde/neos-environment-display

Setup

To configure the display, you will need to add settings to Neos.Neos.Ui.frontendConfiguration.PunktDe.NeosEnvironmentDisplay.

A sample configuration could look like this:

Neos:
  Neos:
    Ui:
      frontendConfiguration:
        'PunktDe.NeosEnvironmentDisplay':
          backgroundColor: '#ff8700'
          label: 'Development'
          icon: 'cog'

These values could also be set via .env. You can also set discrete values for different environments using context-specific Configuration (Configuration/{Production|Production/Staging|Development}/Settings.Neos.yaml).

NOTE: There is no default display value.