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

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

avastechnology/laravel-environment
==================================

Provides an Environment enumeration class to help specify the current and available environments.

9.0.0(4y ago)05MITPHP

Since Mar 23Pushed 4y ago1 watchersCompare

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

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

LaravelEnvironment
==================

[](#laravelenvironment)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5d4a12766e058502de3129db1449d184648db6f0296cdeb16b638d1c1b68d16f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61766173746563686e6f6c6f67792f6c61726176656c2d656e7669726f6e6d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/avastechnology/laravel-environment)[![Total Downloads](https://camo.githubusercontent.com/312256e04d5431d8e812fd2acd676fa0c416b7b19032541f43ef86f2027cd024/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61766173746563686e6f6c6f67792f6c61726176656c2d656e7669726f6e6d656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/avastechnology/laravel-environment)

This package provides an Environment enumeration to better track environment names and references.

There is also a modified "env" console command that provides more details on the current environment and settings.

This is where your description should go. Take a look at [contributing.md](contributing.md) to see a todo list.

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

[](#installation)

Via Composer

```
$ composer require avastechnology/laravel-environment
```

Usage
-----

[](#usage)

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Author Name](https://github.com/avastechnology)
- [All Contributors](../../contributors)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

Unknown

Total

1

Last Release

1512d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b59cc708a3ea88f3d7eae5f5d51e4b3cd26984a71ae5bfbf2b0a3827aa0699d?d=identicon)[avastech](/maintainers/avastech)

---

Top Contributors

[![ahgreen](https://avatars.githubusercontent.com/u/5686621?v=4)](https://github.com/ahgreen "ahgreen (4 commits)")[![avastech](https://avatars.githubusercontent.com/u/23587318?v=4)](https://github.com/avastech "avastech (1 commits)")

---

Tags

laravelenvironment

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[msztorc/laravel-env

Laravel env helper commands

7855.4k](/packages/msztorc-laravel-env)[sven/env-providers

Load Laravel service providers based on your application's environment.

769.7k](/packages/sven-env-providers)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[harmonic/laravel-envcoder

:description

414.1k](/packages/harmonic-laravel-envcoder)[nedwors/navigator

A Laravel package to ease defining navigation menus

433.1k](/packages/nedwors-navigator)

PHPackages © 2026

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