punktde/neos-environment-display
最新稳定版本:1.1.0
Composer 安装命令:
composer require punktde/neos-environment-display
包简介
Configure custom display-names for environments in the neos backend
README 文档
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.
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' secondaryLabel: 'Some deployed version hash' 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.
统计信息
- 总下载量: 29.19k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-07-01
