basilicom/pimcore-plugin-system-banner

Shows a banner of the pimcore environment, to indicate if you are on prod or dev or else.

Installs: 7 079

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 10

Forks: 0

Open Issues: 1

Language:TypeScript

Type:pimcore-bundle

pkg:composer/basilicom/pimcore-plugin-system-banner

v4.0.0 2025-11-10 11:58 UTC

This package is auto-updated.

Last update: 2025-11-15 11:07:50 UTC


README

This plugin will show a banner on the top right with the environment name.

  • development environments = green
  • test environments = purple
  • stage environments = yellow
  • prod environments = red

Environment dev

it is used the .env variable APP_ENV.

Version information

Bundle Version PHP Pimcore
< 2.0 ^7.3 ^6.0
>= 2.0 ^8.0 ^10.0
>= 3.0 ^8.1 ^11.0
>= 4.0 ^8.3 ^12.0

Installation

composer require basilicom/pimcore-plugin-system-banner

Activate Plugin

  • Add to config/bundles.php
return [
    ...
    PimcorePluginSystemBannerBundle::class => ['all' => true],
];

or

  • Activate in the Pimcore backend in Tools -> Bundles & Bricks

Build assets

for Pimcore >= 10

bin/console assets:install public --symlink --relative

for lower than Pimcore X respectively lower than Symfony 5

bin/console assets:install web --symlink --relative

Customize the env name and color

You can customize the display of the name in the .env file (or .env.local). Use the following variable:

SYSTEM_BANNER_TEXT="My env name"

To customize the color, you can use the following variable:

SYSTEM_BANNER_COLOR=purple

you can choose between:

  • green
  • yellow
  • red
  • purple
  • blue