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

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

subscribo/environment
=====================

Package Environment is for getting current environment

v0.1.0(9y ago)0801MITPHPPHP ^5.4 || ^7.0

Since Nov 26Pushed 9y ago2 watchersCompare

[ Source](https://github.com/Subscribo/environment)[ Packagist](https://packagist.org/packages/subscribo/environment)[ RSS](/packages/subscribo-environment/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (1)

Environment Package
===================

[](#environment-package)

Package for getting current environment

1. Installation
---------------

[](#1-installation)

1.1 Add the following to your project's composer.json:

1.1.1 Repository containing this package (note: you need to have access to this repository as well as to resources it points to)

1.1.2 Dependency under "require" key

```
    "subscribo/environment": "^0.1.0"
```

1.2. If you are using Laravel (5.0), you might want to add

```
    '\\Subscribo\\Environment\\Integration\\Laravel\\EnvironmentServiceProvider',
```

under 'providers' key in config/app.php file.

or

```
    if (class_exists('\\Subscribo\\Environment\\Integration\\Laravel\\EnvironmentServiceProvider')) {
        $app->register('\\Subscribo\\Environment\\Integration\\Laravel\\EnvironmentServiceProvider');
    }
```

in bootstrap/app.php for conditional registration

If used with package adding this dependency and registering this service provider for you, this step (1.2) is not necessary.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

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

3457d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/192c884dfa291e6d6b1b98a08a8343508aaaf3e7e00716d5b80eae5eb303a999?d=identicon)[subscribo](/maintainers/subscribo)

---

Top Contributors

[![slavo2](https://avatars.githubusercontent.com/u/9358298?v=4)](https://github.com/slavo2 "slavo2 (6 commits)")

---

Tags

laravelenvironmentsubscribo

### Embed Badge

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

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

###  Alternatives

[msztorc/laravel-env

Laravel env helper commands

7855.4k](/packages/msztorc-laravel-env)[harmonic/laravel-envcoder

:description

414.1k](/packages/harmonic-laravel-envcoder)

PHPackages © 2026

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