PHPackages                             magenizr/magento2-envbar - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. magenizr/magento2-envbar

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

magenizr/magento2-envbar
========================

Envbar allows you to differentiate between environments by adding a custom colored bar above the top navigation. This should help backend users to identify the environment ( e.g local, develop, staging, production ) and prevent anyone from accidentally changing content on the wrong environment.

1.0.5(2y ago)78.4k↑35.7%OSL-3.0PHP

Since Apr 22Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/magenizr/Magenizr_Envbar)[ Packagist](https://packagist.org/packages/magenizr/magento2-envbar)[ Patreon](https://www.patreon.com/magenizr)[ RSS](/packages/magenizr-magento2-envbar/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (6)DependenciesVersions (6)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/457be3703a6909eb1b8d506ec2d22921a6fafc3bfffc80f3f3f724a9462ca2c6/68747470733a2f2f706f7365722e707567782e6f72672f6d6167656e697a722f6d6167656e746f322d656e766261722f76)](https://packagist.org/packages/magenizr/magento2-envbar) [![Total Downloads](https://camo.githubusercontent.com/e2b6920219d88d035e6b9169a77292c1c2293da5101a5a43ab8af5b42efbc367/68747470733a2f2f706f7365722e707567782e6f72672f6d6167656e697a722f6d6167656e746f322d656e766261722f646f776e6c6f616473)](https://packagist.org/packages/magenizr/magento2-envbar) [![Latest Unstable Version](https://camo.githubusercontent.com/cf051f42d749471875be390690170e92ceb81c780d27f4c7e98e5044d978e877/68747470733a2f2f706f7365722e707567782e6f72672f6d6167656e697a722f6d6167656e746f322d656e766261722f762f756e737461626c65)](https://packagist.org/packages/magenizr/magento2-envbar) [![License](https://camo.githubusercontent.com/76e4c6cdc42d5b67a5e1eabb3b2adf881b9aa18a0311df27fe3132b5d8f72cf6/68747470733a2f2f706f7365722e707567782e6f72672f6d6167656e697a722f6d6167656e746f322d656e766261722f6c6963656e7365)](https://packagist.org/packages/magenizr/magento2-envbar) [![PHP Version Require](https://camo.githubusercontent.com/abb81abe444f9022d175d768ce041c9e756831475471c5993797d587918d6f87/68747470733a2f2f706f7365722e707567782e6f72672f6d6167656e697a722f6d6167656e746f322d656e766261722f726571756972652f706870)](https://packagist.org/packages/magenizr/magento2-envbar)

Envbar
======

[](#envbar)

Envbar allows you to differentiate between environments by adding a custom colored bar above the top navigation. This should help backend users to identify the environment ( e.g `local`, `develop`, `staging`, `production` ) and prevent anyone from accidentally changing content on the wrong environment.

[![Magenizr Envbar - Backend](https://camo.githubusercontent.com/7e1539da00cd721eaa113fb236416dd4dd209fb1952821ebc9c62360b5997ffc/68747470733a2f2f696d61676573322e696d67626f782e636f6d2f65622f35302f56475732396842725f6f2e706e67)](https://camo.githubusercontent.com/7e1539da00cd721eaa113fb236416dd4dd209fb1952821ebc9c62360b5997ffc/68747470733a2f2f696d61676573322e696d67626f782e636f6d2f65622f35302f56475732396842725f6f2e706e67)[![Magenizr Envbar - Backend](https://camo.githubusercontent.com/f06988b453ac747d5016477f256ecff72e2a990abc9f3f95951cbb5d0c8b77eb/68747470733a2f2f696d61676573322e696d67626f782e636f6d2f30382f38322f785756327852394a5f6f2e706e67)](https://camo.githubusercontent.com/f06988b453ac747d5016477f256ecff72e2a990abc9f3f95951cbb5d0c8b77eb/68747470733a2f2f696d61676573322e696d67626f782e636f6d2f30382f38322f785756327852394a5f6f2e706e67)

System Requirements
-------------------

[](#system-requirements)

- Magento 2.3.x, 2.4.x
- PHP 5.6.x, 7.x

Installation (Composer 2)
-------------------------

[](#installation-composer-2)

1. Update your composer.json `composer require "magenizr/magento2-envbar":"^1.0" --no-update`
2. Use `composer update magenizr/magento2-envbar --no-install` to update your composer.lock file.

```
Updating dependencies
Lock file operations: 1 install, 1 update, 0 removals
  - Locking magenizr/magento2-envbar (1.0.5)

```

3. And then `composer install` to install the package.

```
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 1 install, 0 update, 0 removals
  - Installing magenizr/magento2-envbar (1.0.5): Extracting archive

```

4. Enable the module and clear static content.

```
php bin/magento module:enable Magenizr_Envbar --clear-static-content
php bin/magento setup:upgrade

```

Installation (Manually)
-----------------------

[](#installation-manually)

1. Download the code.
2. Extract the downloaded tar.gz file. Example: `tar -xzf Magenizr_Envbar_1.0.5.tar.gz`.
3. Copy the code into `./app/code/Magenizr/Envbar/`.
4. Enable the module and clear static content.

```
php bin/magento module:enable Magenizr_Envbar --clear-static-content

```

Features
--------

[](#features)

- Pre-defined styles
- Multiple environments supported
- Multiple URLs per environment supported

Usage
-----

[](#usage)

Simply go to `Stores > Configuration > Magenizr > Envbar` and enable the module once you have added your environment details.

Support
-------

[](#support)

If you experience any issues, don't hesitate to open an issue on [Github](https://github.com/magenizr/Magenizr_Envbar/issues).

History
-------

[](#history)

===== 1.0.5 =====

- 2.4.6-p3 and PHP8 compatibility test
- Minor fixes applied

===== 1.0.4 =====

- Increased width for dynamic row table in system.xml

===== 1.0.3 =====

- 2.4.6 compatibility tested
- Cleanup various files to meet coding standards (EQP, ECG)
- Remove InstallData.php, styles.css, default.xml

===== 1.0.2 =====

- Cleanup various files to meet coding standards (EQP, ECG)
- Replace InstallData with Data Patch
- Minor fix around url matching

===== 1.0.1 =====

- Cleanup various files to meet coding standards (EQP, ECG)

===== 1.0.0 =====

- First release

License
-------

[](#license)

[OSL - Open Software Licence 3.0](https://opensource.org/licenses/osl-3.0.php)

---

About [Magenizr](https://www.magenizr.com.au/)
----------------------------------------------

[](#about-magenizr)

Built and maintained by [Magenizr](https://www.magenizr.com.au/) — an Australian [Adobe Commerce &amp; Magento development agency](https://www.magenizr.com.au/services/adobe-commerce/) based in Bendigo, Victoria. We build custom Magento modules, handle platform migrations, and provide ongoing support for businesses across [Melbourne](https://www.magenizr.com.au/web-development-melbourne/), Sydney, Brisbane and the DACH region.

- [Our Services](https://www.magenizr.com.au/services/adobe-commerce/) — Custom modules, migrations, support
- [Book a Free Consultation](https://www.magenizr.com.au/book/) — 30-minute call, no obligation
- [All Open-Source Modules](https://github.com/magenizr) — Our full collection on GitHub

Über [Magenizr](https://www.magenizr.com.au/de/)
------------------------------------------------

[](#über-magenizr)

Entwickelt und gepflegt von [Magenizr](https://www.magenizr.com.au/de/) — einer australischen [Magento &amp; Adobe Commerce Agentur](https://www.magenizr.com.au/de/services/adobe-commerce/) mit Fokus auf die DACH-Region. Wir entwickeln individuelle Magento-Module, übernehmen Plattform-Migrationen und bieten laufenden Support für Unternehmen in Berlin, Hamburg, München, Frankfurt, Köln, Stuttgart, Düsseldorf, Wien, Graz, Salzburg, Zürich, Basel und Bern.

- [Unsere Leistungen](https://www.magenizr.com.au/de/services/adobe-commerce/) — Module, Migrationen, Support
- [Kostenlose Erstberatung](https://www.magenizr.com.au/de/book/) — 30 Minuten, unverbindlich
- [Alle Open-Source-Module](https://github.com/magenizr) — Unsere komplette Sammlung auf GitHub

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance60

Regular maintenance activity

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~232 days

Total

5

Last Release

971d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/36174840?v=4)[Magenizr](/maintainers/magenizr)[@magenizr](https://github.com/magenizr)

---

Top Contributors

[![magenizr](https://avatars.githubusercontent.com/u/36174840?v=4)](https://github.com/magenizr "magenizr (17 commits)")

---

Tags

magento2magento2-adminmagento2-extensionmagento2-modulecolorenvironmentbarcustommagento 2

### Embed Badge

![Health badge](/badges/magenizr-magento2-envbar/health.svg)

```
[![Health](https://phpackages.com/badges/magenizr-magento2-envbar/health.svg)](https://phpackages.com/packages/magenizr-magento2-envbar)
```

###  Alternatives

[vlucas/phpdotenv

Loads environment variables from `.env` to `getenv()`, `$\_ENV` and `$\_SERVER` automagically.

13.5k640.2M6.3k](/packages/vlucas-phpdotenv)[symfony/dotenv

Registers environment variables from a .env file

3.8k243.3M2.8k](/packages/symfony-dotenv)[spatie/color

A little library to handle color conversions

38221.2M36](/packages/spatie-color)[mexitek/phpcolors

A series of methods that let you manipulate colors. Just incase you ever need different shades of one color on the fly.

4993.9M20](/packages/mexitek-phpcolors)[foroco/php-browser-detection

Ultra fast PHP library to detect browser, OS, platform and device type by User-Agent parsing

1545.5M7](/packages/foroco-php-browser-detection)[magepal/magento2-googletagmanager

Google Tag Manager (GTM) for Magento 2 with Advance Data Layer

2691.6M5](/packages/magepal-magento2-googletagmanager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
