PHPackages                             patrick-cullen/env-title - 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. patrick-cullen/env-title

ActiveLibrary

patrick-cullen/env-title
========================

A Laravel package for adding the environment to the HTML title

v1.0.11(1y ago)09[4 PRs](https://github.com/patrick-cullen/env-title/pulls)MITPHPPHP ^8.2CI passing

Since May 19Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/patrick-cullen/env-title)[ Packagist](https://packagist.org/packages/patrick-cullen/env-title)[ Docs](https://github.com/patrick-cullen/env-title)[ GitHub Sponsors](https://github.com/patrick-cullen)[ RSS](/packages/patrick-cullen-env-title/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (13)Versions (13)Used By (0)

A Laravel package for adding the environment to the HTML title
==============================================================

[](#a-laravel-package-for-adding-the-environment-to-the-html-title)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a460aca94fb34893a4a2608cffb524ff599667c8539edcbc888030346eb17254/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7061747269636b2d63756c6c656e2f656e762d7469746c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/patrick-cullen/env-title)[![GitHub Tests Action Status](https://camo.githubusercontent.com/796c1de5261ddc0074de352af9ebc382ca0f9bac91285ac27608d6456177bc10/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7061747269636b2d63756c6c656e2f656e762d7469746c652f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/patrick-cullen/env-title/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/ef81dc1b543dac34437b3d6e3cc66dbc6395b70a1df6212f7f4e5d29d35dbf9e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7061747269636b2d63756c6c656e2f656e762d7469746c652f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/patrick-cullen/env-title/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/c3897bb72303cfcc13e91cb67355922b7ff940bc870e202423732a18e5c7088d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7061747269636b2d63756c6c656e2f656e762d7469746c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/patrick-cullen/env-title)

Ever had local, QA, and production tabs of the same application all open at the same time? It can be easy to mix them up and waste precious time and attention keeping them straight.

This utility package creates a blade component that prepends the HTML document title (what shows in a browser tab) with the environment that the application is running in- unless it's production, in which case it is treated as a regular `` tag.

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

[](#installation)

You can install the package via composer:

```
composer require patrick-cullen/env-title
```

Note that you may need to add the -W flag if a dependency of env-title such as "spatie/laravel-package-tools" is required by other packages in your project and is installed at a version below the required versions for env-title. Alternatively, run:

```
composer update
```

before installing this package via composer.

The installation script will handle the rest:

```
php artisan env-title:install
```

Now just replace your `` tags with `` blade components, and you're good to go.

Workflow for making changes to this package
-------------------------------------------

[](#workflow-for-making-changes-to-this-package)

- Pick a project to pull this package into

```
composer require patrick-cullen/env-title --prefer-source
```

- Tinker around and commit desired changes to version control (this is what the --prefer-source flag allows you to do).
- Push your changes.
    - If you see multiple remotes (origin and composer) don't worry - updating one will update the other momentarily.
- Tag and push your changes - in a more refined workflow you would probably want to add a stability flag for anything not thoroughly tested and used by others, but standard semver should suffice.

Credits
-------

[](#credits)

- [patrick-cullen](https://github.com/patrick-cullen)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance65

Regular maintenance activity

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 62.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 ~0 days

Total

7

Last Release

726d ago

### Community

Maintainers

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

---

Top Contributors

[![patrick-cullen](https://avatars.githubusercontent.com/u/94378469?v=4)](https://github.com/patrick-cullen "patrick-cullen (20 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")

---

Tags

laravelpatrick-cullenenv-title

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/patrick-cullen-env-title/health.svg)

```
[![Health](https://phpackages.com/badges/patrick-cullen-env-title/health.svg)](https://phpackages.com/packages/patrick-cullen-env-title)
```

###  Alternatives

[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)

PHPackages © 2026

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