PHPackages                             joriswvanrijn/environment-label - 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. joriswvanrijn/environment-label

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

joriswvanrijn/environment-label
===============================

Which environment am I seeing? A simple bar to easily distinguish local, development, staging and production environments.

1.2.1(4y ago)22.9kMITPHPPHP ^7.1.3|^8.0

Since Aug 16Pushed 4y ago2 watchersCompare

[ Source](https://github.com/joriswvanrijn/environment-label)[ Packagist](https://packagist.org/packages/joriswvanrijn/environment-label)[ RSS](/packages/joriswvanrijn-environment-label/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (1)Versions (7)Used By (0)

Environment Label (for Laravel)
===============================

[](#environment-label-for-laravel)

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

Are you constantly switching between local, development, staging and production environments? Prevent mistakes by clearly distinguishing which environment you are fidgeting in.

Customize labels, environment names and colors.

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

[](#installation)

```
composer require joriswvanrijn/environment-label --dev

# or if you want a label in staging as well:
composer require joriswvanrijn/environment-label
```

[![Example](https://user-images.githubusercontent.com/63727247/90332298-f75a7380-dfbb-11ea-8d0d-7cb43e5091a0.png)](https://user-images.githubusercontent.com/63727247/90332298-f75a7380-dfbb-11ea-8d0d-7cb43e5091a0.png)

License and attribution
-----------------------

[](#license-and-attribution)

This package is open-sourced software licensed under the MIT license.

Mentions
--------

[](#mentions)

Coding inspired by [@barryvdh](https://github.com/barryvdh)'s package:

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~118 days

Total

4

Last Release

1739d ago

PHP version history (2 changes)1.0.0PHP ^7.1.3

1.2.0PHP ^7.1.3|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e33499463cb107216637f7bd7f4fe06123e8f10fcb2bd7068cd08703455bd359?d=identicon)[joriswvanrijn](/maintainers/joriswvanrijn)

---

Top Contributors

[![joriswvanrijn](https://avatars.githubusercontent.com/u/63727247?v=4)](https://github.com/joriswvanrijn "joriswvanrijn (6 commits)")[![mennorenkens](https://avatars.githubusercontent.com/u/18008421?v=4)](https://github.com/mennorenkens "mennorenkens (3 commits)")

### Embed Badge

![Health badge](/badges/joriswvanrijn-environment-label/health.svg)

```
[![Health](https://phpackages.com/badges/joriswvanrijn-environment-label/health.svg)](https://phpackages.com/packages/joriswvanrijn-environment-label)
```

###  Alternatives

[tightenco/ziggy

Use your Laravel named routes in JavaScript.

4.3k41.6M267](/packages/tightenco-ziggy)[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)

PHPackages © 2026

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