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.
Features
- Enable or disable plugin temporarily.
- Enable plugin for Superusers only.
- Start with pre-defined environments (
development
,staging
,production
). - Add additional environments and choose the color of the bar.
The full plugin documentation is available here.
Installation
Backend
Go to " Settings > System > Updates & Plugins " and search for the plugin. Click on " Install Plugins " and search for " envbar ".
Artisan
php artisan plugin:install Magenizr.Envbar Downloading plugin: Magenizr.Envbar Unpacking plugin: Magenizr.Envbar
Manually
- Download the code from GitHub > October_Envbar
- Extract the downloaded tar.gz file. Example:
tar -xzf October_Envbar_1.0.2.tar.gz
. - Copy the code into
./plugins/magenizr/envbar/
.
Configuration
After the installation, verify that the folder ./storage/temp/public
has proper write permissions, otherwise Envbar
won't be able to cache CSS styles. Make sure the name of the environment ( e.g development
) matches the value of the variable APP_ENV
or default
in ./config/environment.php
.
Features
- Enable or disable plugin temporarily.
- Enable plugin for Superusers only.
- Start with pre-defined environments (
development
,staging
,production
). - Add additional environments and choose the color of the bar.
Usage
- Simply navigate to " Settings > System > Envbar " and enable the plugin.
- Enable
Superuser
if you want to show the bar for administrators only and exclude content creator logins. - Update existing colors within the
Environments
section. - Add a new environment ( e.g
local
) if required.
Support
If you experience any issues, don't hesitate to open an issue on GitHub.
-
This plugin has not been reviewed yet.
-
1.0.6 |
Fix member function isSuperUser() on null Mar 01, 2024 |
---|---|
1.0.5 |
October CMS 3.0 compatibility Mar 01, 2024 |
1.0.4 |
Create temp folder if not exists. Apr 01, 2021 |
1.0.3 |
Automatically clear cached styles ( colors ) if `.env` file has been updated. Jul 08, 2020 |
1.0.2 |
Change path for compiled CSS file from ./storage/temp to ./storage/temp/public. Jun 18, 2020 |
1.0.1 |
Fallback for APP_ENV variable. Compile CSS again if ./storage/temp has been cleared. Jun 17, 2020 |
1.0.0 |
Initialize plugin. Jun 14, 2020 |