PHPackages                             tmilos/context - 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. tmilos/context

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

tmilos/context
==============

Hierarchical context tree PHP library

2.0.0(9y ago)0361MITPHPPHP &gt;=5.6.0

Since Dec 6Pushed 9y ago1 watchersCompare

[ Source](https://github.com/tmilos/context)[ Packagist](https://packagist.org/packages/tmilos/context)[ RSS](/packages/tmilos-context/feed)WikiDiscussions master Synced yesterday

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

Context
=======

[](#context)

[![Author](https://camo.githubusercontent.com/c66133f19d9fe3288aee0e4be5c2e4b63190edb4d032c77a58d62f29b4ca0c66/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d40746d696c6f732d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/tmilos77)[![Build Status](https://camo.githubusercontent.com/18e5e526b918db275a2675a649d2ee930826dc90342c1e5e9d76c936e879b04f/68747470733a2f2f7472617669732d63692e6f72672f746d696c6f732f636f6e746578742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tmilos/context)[![Coverage Status](https://camo.githubusercontent.com/41375acfb2f7d055c46ffbdf4b72f25ff2a92260ca9c03a627f04d49eadc6fcb/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f746d696c6f732f636f6e746578742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/tmilos/context?branch=master)[![License](https://camo.githubusercontent.com/c13b23670c080e3740d28735ab12b4dd6bcd7c3db75e7631aba3bd2051df99b8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746d696c6f732f636f6e746578742e737667)](https://packagist.org/packages/tmilos/context)[![SensioLabsInsight](https://camo.githubusercontent.com/65b27e504452f6923545e60ed7afe105ec7c22fe8625b1949ba05a7f413e7e91/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f34613163303261352d396637332d343730322d386335392d3038303563623664336635652f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/4a1c02a5-9f73-4702-8c59-0805cb6d3f5e)

A hierarchical context tree PHP library, with hierarchical parameter bags - context, and actions working with them.

ArrayContext
------------

[](#arraycontext)

The `ArrayContext` is the default implementation of the `Context` interface. It acts as a hierarchical parameter bags, when items can also be other contexts.

```
