PHPackages                             signify-nz/silverstripe-environmentindicator - 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. signify-nz/silverstripe-environmentindicator

ActiveSilverstripe-vendormodule

signify-nz/silverstripe-environmentindicator
============================================

Vendor module to add an environment indicator in the CMS as well as information bar for the front-end.

2.0.0(1y ago)12.6k↓100%3[2 issues](https://github.com/signify-nz/silverstripe-environmentindicator/issues)[2 PRs](https://github.com/signify-nz/silverstripe-environmentindicator/pulls)BSD-3-ClausePHPPHP &gt;=7.4

Since May 26Pushed 1y ago9 watchersCompare

[ Source](https://github.com/signify-nz/silverstripe-environmentindicator)[ Packagist](https://packagist.org/packages/signify-nz/silverstripe-environmentindicator)[ Docs](https://github.com/signify-nz/silverstripe-environmentindicator)[ RSS](/packages/signify-nz-silverstripe-environmentindicator/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (7)Used By (0)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/deb857a2d2e35042a1771f9ed515080b4cc0d6ffdf7658f143721b2393da20e5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7369676e6966792d6e7a2f73696c7665727374726970652d656e7669726f6e6d656e74696e64696361746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/signify-nz/silverstripe-environmentindicator/?branch=master)

Environment Indicator
=====================

[](#environment-indicator)

The Environment Indicator Vendor Module reads the SS\_ENVIRONMENT\_TYPE variable in your .env file (dev, test or live) and loads the applicable javascript to insert a custom div above the menu header in the CMS Admin interface.

The EnvBarExtension also inserts a custom element into the HTML of all pages to provide an information bar detailing the environment and page version. If the logged-in user has access to pages in the CMS, the bar acts as a link to open the page in the CMS via a new browser tab.

The bar does not appear in live mode for unauthorised users.

Requirements
------------

[](#requirements)

- [SilverStripe CMS ^4](https://github.com/silverstripe/silverstripe-cms) OR [SilverStripe CMS ^5](https://github.com/silverstripe/silverstripe-cms)

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

[](#installation)

**Composer:**

```
    composer require signify-nz/silverstripe-environmentindicator

```

Documentation
-------------

[](#documentation)

No further configuration is required.

Customisation can be achieved by editing the EnvBar.ss template or the envbar- .js and .css files. Functional tests are available in the tests directory. These will need to be updated if you modify the template.

- [Changelog](CHANGELOG.md)
- [Contributing](CONTRIBUTING.md)
- [Issues](https://github.com/signify-nz/silverstripe-environmentindicator/issues)
- [License](LICENSE.md)

Usage
-----

[](#usage)

This module performs an informative function only. No special usage instructions are available.

[![Live Published Anonymous](docs/en/img/Live_Pub_Anon.png)](docs/en/img/Live_Pub_Anon.png)[![Live Published Editor](docs/en/img/Live_Pub_Edit.png)](docs/en/img/Live_Pub_Edit.png)[![Live Draft Editor](docs/en/img/Live_Draft_Edit.png)](docs/en/img/Live_Draft_Edit.png)[![Live CMS Page](docs/en/img/Live_CMS_Page.png)](docs/en/img/Live_CMS_Page.png)[![Live CMS Tree](docs/en/img/Live_CMS_Tree.png)](docs/en/img/Live_CMS_Tree.png)

[![Test Published Anonymous](docs/en/img/Test_Pub_Anon.png)](docs/en/img/Test_Pub_Anon.png)[![Test Published Editor](docs/en/img/Test_Pub_Edit.png)](docs/en/img/Test_Pub_Edit.png)[![Test Draft Editor](docs/en/img/Test_Draft_Edit.png)](docs/en/img/Test_Draft_Edit.png)[![Test CMS Page](docs/en/img/Test_CMS_Page.png)](docs/en/img/Test_CMS_Page.png)[![Test CMS Tree](docs/en/img/Test_CMS_Tree.png)](docs/en/img/Test_CMS_Tree.png)

[![Dev Published Anonymous](docs/en/img/Dev_Pub_Anon.png)](docs/en/img/Dev_Pub_Anon.png)[![Dev Published Editor](docs/en/img/Dev_Pub_Edit.png)](docs/en/img/Dev_Pub_Edit.png)[![Dev Draft Editor](docs/en/img/Dev_Draft_Edit.png)](docs/en/img/Dev_Draft_Edit.png)[![Dev CMS Page](docs/en/img/Dev_CMS_Page.png)](docs/en/img/Dev_CMS_Page.png)[![Dev CMS Tree](docs/en/img/Dev_CMS_Tree.png)](docs/en/img/Dev_CMS_Tree.png)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

4

Last Release

616d ago

Major Versions

1.x-dev → 2.0.02024-09-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/057c1d5e6ba74037267105edd06c734355f2145adc48572582cbdeabc92679ee?d=identicon)[signify-nz](/maintainers/signify-nz)

![](https://www.gravatar.com/avatar/0d4bd00ab607985a1f41b4f8b8780e52e51da3df8a375f18712a38533cb14995?d=identicon)[lanifield](/maintainers/lanifield)

---

Top Contributors

[![sig-lani](https://avatars.githubusercontent.com/u/67132697?v=4)](https://github.com/sig-lani "sig-lani (18 commits)")[![lanifield](https://avatars.githubusercontent.com/u/11861394?v=4)](https://github.com/lanifield "lanifield (13 commits)")[![sig-owalker](https://avatars.githubusercontent.com/u/69183159?v=4)](https://github.com/sig-owalker "sig-owalker (11 commits)")[![GuySartorelli](https://avatars.githubusercontent.com/u/36352093?v=4)](https://github.com/GuySartorelli "GuySartorelli (3 commits)")

---

Tags

silverstripeenvironmentaccesscmsversion

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/signify-nz-silverstripe-environmentindicator/health.svg)

```
[![Health](https://phpackages.com/badges/signify-nz-silverstripe-environmentindicator/health.svg)](https://phpackages.com/packages/signify-nz-silverstripe-environmentindicator)
```

###  Alternatives

[silverstripe/cms

The SilverStripe Content Management System

5163.4M1.3k](/packages/silverstripe-cms)[silverstripe/contentreview

Flags pages for periodical author review (incl. reporting)

22264.3k4](/packages/silverstripe-contentreview)

PHPackages © 2026

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