PHPackages                             netsilik/env - 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. netsilik/env

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

netsilik/env
============

Env - the type aware env reader.

1.1.1(6y ago)07[1 issues](https://github.com/Netsilik/Env/issues)[1 PRs](https://github.com/Netsilik/Env/pulls)MITPHPPHP ^7.3

Since Aug 16Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/Netsilik/Env)[ Packagist](https://packagist.org/packages/netsilik/env)[ Docs](https://gitlab.com/Netsilik/Env)[ RSS](/packages/netsilik-env/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Env - the type aware env reader
===============================

[](#env---the-type-aware-env-reader)

A type aware environment variable reader

---

MIT Licence

Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Contact: Latest version available at:

---

Usage
-----

[](#usage)

env(YOUR\_ENVIRONMENT\_VARIABLE)

---

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

[](#installation)

```
composer require netsilik/env

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance54

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Every ~0 days

Total

3

Last Release

2463d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/90d507c4b8102af88517672375ad0777056f35baecaf2ea94dbc7b7c2e7c5512?d=identicon)[Jacco-V](/maintainers/Jacco-V)

---

Top Contributors

[![Jacco-V](https://avatars.githubusercontent.com/u/19333579?v=4)](https://github.com/Jacco-V "Jacco-V (5 commits)")

---

Tags

envenvironment variables

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/netsilik-env/health.svg)

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

###  Alternatives

[vlucas/phpdotenv

Loads environment variables from `.env` to `getenv()`, `$\_ENV` and `$\_SERVER` automagically.

13.5k602.4M5.4k](/packages/vlucas-phpdotenv)[symfony/dotenv

Registers environment variables from a .env file

3.8k226.7M2.3k](/packages/symfony-dotenv)[helhum/dotenv-connector

Makes it possible to set environment variables for composer projects.

1594.6M34](/packages/helhum-dotenv-connector)[oscarotero/env

Simple library to consume environment variables

9411.4M152](/packages/oscarotero-env)[ffraenz/private-composer-installer

A composer install helper for private packages

2331.7M5](/packages/ffraenz-private-composer-installer)[m1/env

Env is a lightweight library bringing .env file parser compatibility to PHP. In short - it enables you to read .env files with PHP.

6412.0M21](/packages/m1-env)

PHPackages © 2026

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