PHPackages                             blackbird/module-environment-banner - 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. blackbird/module-environment-banner

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

blackbird/module-environment-banner
===================================

Magento 2 extension. Tell at a glance if you are in a production, staging or dev environment - visual banners on frontend and admin

1.0.1(2y ago)27.6k↓22.7%MITPHPPHP ~5.5.0|~5.6.0|&gt;7|&gt;8

Since Mar 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/blackbird-agency/magento2-environment-banner)[ Packagist](https://packagist.org/packages/blackbird/module-environment-banner)[ RSS](/packages/blackbird-module-environment-banner/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Environment banner [![Latest Stable Version](https://camo.githubusercontent.com/f41ceb01b2b3e56e37c3d364a63c2ed1d96d2fd93176e2f92679453c6108b7fd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e302d76696f6c6574)](https://packagist.org/packages/blackbird/module-environment-banner) [![License: MIT](https://camo.githubusercontent.com/8d44e3f0801034182942148d2aa032f87c8a76ced27ea7f4600c849446fff386/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f626c61636b626972642d6167656e63792f6d6167656e746f322d656e7669726f6e6d656e742d62616e6e65723f6c6f676f3d67697468756226636f6c6f723d73616c6d6f6e)](./LICENSE) ![Download count](https://camo.githubusercontent.com/68a802ec41ab64d58d2e8ededa66126bcf5be495b47f5c4cca5c5549f3a9f995/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626c61636b626972642f6d6f64756c652d656e7669726f6e6d656e742d62616e6e65723f636f6c6f723d61717561)
=============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#environment-banner----)

Magento 2 extension that provides a quick visual indication of the environment (production, staging, or development) you are currently in, with banners displayed on both the frontend and admin areas.

Why choose this extension?
--------------------------

[](#why-choose-this-extension)

This module offers a convenient solution for teams working on Magento projects to easily identify the environment they are working in, helping to prevent any accidental changes or actions in production environments. With clear banners displayed prominently, developers, testers, and administrators can confidently navigate through different environments without confusion.

Features
--------

[](#features)

- Visual banners displayed on frontend and admin areas.
- Clearly distinguish between production, staging, and development environments.
- Easy setup and configuration.

Installation
------------

[](#installation)

1. Install via Composer

```
composer require blackbird/module-environment-banner
```

2. Enable the module

```
php bin/magento setup:upgrade
```

3. Configure the extension in the Magento admin panel under `Stores > Configuration > Advanced > Environment Banner`. Fill the environment mapping.
4. Add the environment to the `app/etc/env.php` file. **The value should match one from the mapping.**

```
[
    'system' => [
        'default' => [
            'environment' => 'development',
        ],
    ],
];
```

About this fork
---------------

[](#about-this-fork)

This extension is a fork of the original [c3limited/magento2-environment-banner](https://github.com/c3limited/magento2-environment-banner) module. While the original module provided valuable functionality, it had limitations such as compatibility only with Apache servers and absence from Packagist. In our fork, we have addressed these limitations and made enhancements for broader compatibility, including support for Nginx and other web servers.

**Notably, instead of relying on server configuration, as in the original module, our fork utilizes the `env.php` file for environment configuration, offering greater flexibility and ease of use.**

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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 ~0 days

Total

2

Last Release

788d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12445118?v=4)[anthony-blackbird](/maintainers/anthony-blackbird)[@anthony-blackbird](https://github.com/anthony-blackbird)

### Embed Badge

![Health badge](/badges/blackbird-module-environment-banner/health.svg)

```
[![Health](https://phpackages.com/badges/blackbird-module-environment-banner/health.svg)](https://phpackages.com/packages/blackbird-module-environment-banner)
```

###  Alternatives

[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)[lillik/magento2-price-decimal

Magento 2 Price Decimal Precision

111147.5k](/packages/lillik-magento2-price-decimal)[doofinder/doofinder-magento2

Doofinder module for Magento 2

13204.0k1](/packages/doofinder-doofinder-magento2)[graycore/magento2-graphql-introspection-cache

1015.2k](/packages/graycore-magento2-graphql-introspection-cache)[elgentos/magento2-hyva-checkout-ab-test

Set up an A/B test with different available Hyvä and Luma checkouts

154.2k](/packages/elgentos-magento2-hyva-checkout-ab-test)

PHPackages © 2026

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