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.2k↓50%OSL-3.0PHP

Since Apr 22Pushed 1y 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 1mo ago

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

[![Magenizr Plus](https://camo.githubusercontent.com/41801bf1cd6d819f836c4ad512f40152ebe3d3f25412f7b2b8a07436e5076d7b/68747470733a2f2f696d61676573322e696d67626f782e636f6d2f31312f36622f79564f4f6c6f61415f6f2e676966)](https://account.magenizr.com)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#)

[![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).

Purchase
--------

[](#purchase)

This module is available for free on [GitHub](https://github.com/magenizr).

Contact
-------

[](#contact)

Follow us on [GitHub](https://github.com/magenizr), [Twitter](https://twitter.com/magenizr)and [Facebook](https://www.facebook.com/magenizr).

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)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity28

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

917d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/605a729e99c0436f040a96767ee730868d660203396a8666a521fb77f5d93bd2?d=identicon)[magenizr](/maintainers/magenizr)

---

Top Contributors

[![magenizr](https://avatars.githubusercontent.com/u/36174840?v=4)](https://github.com/magenizr "magenizr (13 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.5k602.4M5.4k](/packages/vlucas-phpdotenv)[symfony/dotenv

Registers environment variables from a .env file

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

A little library to handle color conversions

38018.9M28](/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.

5003.6M18](/packages/mexitek-phpcolors)[foroco/php-browser-detection

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

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

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

2671.5M4](/packages/magepal-magento2-googletagmanager)

PHPackages © 2026

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