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. [Utility &amp; Helpers](/categories/utility)
4. /
5. patrick-cullen/env-title

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

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

A Laravel package for adding the environment to the HTML title

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

Since May 19Pushed 2mo 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 yesterday

READMEChangelogDependencies (13)Versions (14)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

35

—

LowBetter than 77% of packages

Maintenance57

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

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

774d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/37078913?v=4)[Patrick Cullen](/maintainers/patrickcullen)[@patrickcullen](https://github.com/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

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

199.4k](/packages/tarfin-labs-event-machine)

PHPackages © 2026

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