PHPackages                             esign/laravel-environment-badge - 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. esign/laravel-environment-badge

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

esign/laravel-environment-badge
===============================

Display a warning badge for certain app environments

1.5.0(1mo ago)14.8k—8.3%MITPHPPHP ^7.4|^8.0CI passing

Since Jan 6Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/esign/laravel-environment-badge)[ Packagist](https://packagist.org/packages/esign/laravel-environment-badge)[ Docs](https://github.com/esign/laravel-environment-badge)[ RSS](/packages/esign-laravel-environment-badge/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (12)Used By (0)

Display a warning badge for certain app environments
====================================================

[](#display-a-warning-badge-for-certain-app-environments)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5aaec4e060ef9f8673c402d9fee211357387315ecc95b7f21dd59e42539e894e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f657369676e2f6c61726176656c2d656e7669726f6e6d656e742d62616467652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/esign/laravel-environment-badge)[![Total Downloads](https://camo.githubusercontent.com/b8710ea85a98f613a230d6ca084692442e2b9bfe5153fd3cbc6df06b63435365/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f657369676e2f6c61726176656c2d656e7669726f6e6d656e742d62616467652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/esign/laravel-environment-badge)[![GitHub Actions](https://github.com/esign/laravel-environment-badge/actions/workflows/main.yml/badge.svg)](https://github.com/esign/laravel-environment-badge/actions/workflows/main.yml/badge.svg)

Display a badge for testing or staging environments. This package is Esign-branded, feel free to fork and change it to fit your own needs.

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

[](#installation)

You can install the package via composer:

```
composer require esign/laravel-environment-badge
```

The package will automatically register a service provider.

Next up, you can optionally publish the configuration and language files:

```
php artisan vendor:publish --provider="Esign\EnvironmentBadge\EnvironmentBadgeServiceProvider" --tag="config"
php artisan vendor:publish --provider="Esign\EnvironmentBadge\EnvironmentBadgeServiceProvider" --tag="lang"
```

Usage
-----

[](#usage)

To display the environment badge you may use the view component that ships with this package:

```

```

To enable this badge for certain environments you may set the `ENVIRONMENT_BADGE_ENABLED` environment variable to true:

```
ENVIRONMENT_BADGE_ENABLED=true
```

### Testing

[](#testing)

```
composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance89

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.5% 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 ~129 days

Recently: every ~278 days

Total

10

Last Release

56d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4599d7a8f6fdb63dd04305a49ae5ec9700b7a6eacdbe3a54f89584d75e34503f?d=identicon)[esign](/maintainers/esign)

---

Top Contributors

[![jordyvanderhaegen](https://avatars.githubusercontent.com/u/24370626?v=4)](https://github.com/jordyvanderhaegen "jordyvanderhaegen (21 commits)")[![ennio-weckx](https://avatars.githubusercontent.com/u/130153972?v=4)](https://github.com/ennio-weckx "ennio-weckx (1 commits)")

---

Tags

esignenvironment-badge

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/esign-laravel-environment-badge/health.svg)

```
[![Health](https://phpackages.com/badges/esign-laravel-environment-badge/health.svg)](https://phpackages.com/packages/esign-laravel-environment-badge)
```

###  Alternatives

[livewire/flux

The official UI component library for Livewire.

9385.0M86](/packages/livewire-flux)[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7825.3M18](/packages/akaunting-laravel-money)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[dragon-code/pretty-routes

Pretty Routes for Laravel

10058.7k4](/packages/dragon-code-pretty-routes)[bjuppa/laravel-blog

Add blog functionality to your Laravel project

483.3k2](/packages/bjuppa-laravel-blog)[genealabs/laravel-tawk

Integrate Tawk.to into yoru Laravel and Nova apps.

111.2k](/packages/genealabs-laravel-tawk)

PHPackages © 2026

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