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.
System Requirements
- Magento 2.3.x, 2.4.x
- PHP 5.6.x, 7.x
Installation (Composer)
- Update your composer.json
composer require "magenizr/magento2-envbar":"1.0.0" --no-update
- Install dependencies and update your composer.lock
composer update --lock
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing magenizr/magento2-envbar (1.0.0): Downloading (100%)
Writing lock file
Generating autoload files
- Enable the module and clear static content.
php bin/magento module:enable Magenizr_Envbar --clear-static-content
php bin/magento setup:upgrade
Installation (Manually)
- Download the code.
- Extract the downloaded tar.gz file. Example:
tar -xzf Magenizr_Envbar_1.0.0.tar.gz
. - Copy the code into
./app/code/Magenizr/Envbar/
. - Enable the module and clear static content.
php bin/magento module:enable Magenizr_Envbar --clear-static-content
php bin/magento setup:upgrade
Features
- Pre-defined styles
- Multiple environments supported
- Multiple URLs per environment supported
Usage
Simply go to Stores > Configuration > Magenizr > Envbar
and enable the module once you have added your environment details.
Support
If you experience any issues, don't hesitate to open an issue on Github. For a custom build, don't hesitate to contact us on Magento Marketplace.
Purchase
This module is available for free on GitHub.
Contact
Follow us on GitHub, Twitter and Facebook.
History
===== 1.0.0 =====
- First release