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

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

jorpo/environment
=================

Environment Management in an OOP way

00[1 PRs](https://github.com/jorpo-co/environment/pulls)PHPCI failing

Since Nov 24Pushed 3mo agoCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Environment
===========

[](#environment)

This package can be used as simply as `new Environment($_SERVER);` to allow configurations to be passed around inside an OOP application with ease.

However, we all know that application configurations can be a little more challenging than that. To allow as much flexibility as possible, this package implements a Chain of Responsibility pattern to allow multiple layers of simple or complex data manipulation to forge an application environment to suit any need.

Here's a thorough Example:

```
