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

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

remotelyliving/php-env
======================

A library to marshall environment variables from environments

1.0.0(5y ago)03[2 PRs](https://github.com/remotelyliving/php-env/pulls)MITPHPPHP &gt;=7.4

Since May 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/remotelyliving/php-env)[ Packagist](https://packagist.org/packages/remotelyliving/php-env)[ RSS](/packages/remotelyliving-php-env/feed)WikiDiscussions master Synced 1w ago

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

[![Build Status](https://camo.githubusercontent.com/58ec5db5e39e336ebe0f57fc4b0b06cc83b801e13a509e809b15994a9664bccc/68747470733a2f2f7472617669732d63692e636f6d2f72656d6f74656c796c6976696e672f7068702d656e762e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/remotelyliving/php-env)[![Total Downloads](https://camo.githubusercontent.com/87578d2f54e521fc4db0692b7b10ea6b6665c09f762ce631e5c79abda3af4538/68747470733a2f2f706f7365722e707567782e6f72672f72656d6f74656c796c6976696e672f7068702d656e762f646f776e6c6f616473)](https://packagist.org/packages/remotelyliving/php-env)[![Coverage Status](https://camo.githubusercontent.com/017ba1021517d0d6e2ebaf1bc7862cc0d377491847bc7ba5eafe707ccef633fe/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f72656d6f74656c796c6976696e672f7068702d656e762f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/remotelyliving/php-env?branch=master)[![License](https://camo.githubusercontent.com/c35b0792f1715248e1af079089d5d1fca82c0d2058abfa32880d08c3de92a036/68747470733a2f2f706f7365722e707567782e6f72672f72656d6f74656c796c6976696e672f7068702d656e762f6c6963656e7365)](https://packagist.org/packages/remotelyliving/php-env)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/598c87aa9a5ccc49436009226ed18d86dd311e05cfaf23949b0bf15f5e6ef691/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f72656d6f74656c796c6976696e672f7068702d656e762f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/remotelyliving/php-env/?branch=master)

php-env
=======

[](#php-env)

### 🌎 An Environment Abstraction for PHP 🌎

[](#-an-environment-abstraction-for-php-)

### Use Cases

[](#use-cases)

If you want a boundary between you and your runtime environment, this library can help. If you like to use .env files this library can help.

### Installation

[](#installation)

```
composer require remotelyliving/php-env
```

### Usage

[](#usage)

#### Create The Application Environment

[](#create-the-application-environment)

```
