punktde/neos-environment-display

Configure custom display-names for environments in the neos backend

Installs: 22 391

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 6

Forks: 1

Open Issues: 1

Language:JavaScript

Type:neos-package

1.0.2 2023-04-29 12:39 UTC

This package is auto-updated.

Last update: 2024-10-29 15:46:20 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.