PHPackages                             arcanum/parameter-tree - 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. arcanum/parameter-tree

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

arcanum/parameter-tree
======================

Namespaced accessors for multi-dimensional trees of parameters (such as POST/GET, config, etc)

2.0.1(9y ago)07.5kMITPHPPHP &gt;=5.4

Since Jan 20Pushed 9y agoCompare

[ Source](https://github.com/precariouspanther/ParameterTree)[ Packagist](https://packagist.org/packages/arcanum/parameter-tree)[ RSS](/packages/arcanum-parameter-tree/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (6)Used By (0)

PHP ParameterTree
=================

[](#php-parametertree)

ParameterTree is a multi-dimensional, namespaced parameter bag simplifying access to multidimensional arrays (such as configs, GET/POST/SESSION params, etc), with default return values and typecasting.

Basic Usage
-----------

[](#basic-usage)

```
$dbConfig = new ParameterTree(
    [
        "master"=>[
            "host"=>"db.com",
            "user"=>"DB-DUDE",
            "pass"=>"super-secret123",
            "port"=>"3306"
        ]
    ]
);
echo $dbConfig->get("master.host","localhost"); //db.com
echo $dbConfig->get("slave.host","localhost"); //localhost
var_dump($dbConfig->hasKey("master.host")); //true
var_dump($dbConfig->hasKey("master.soup")); //false
$dbConfig->set("slave.pass","abc123");
var_dump($config->toArray()); // ["master"=>["host"=>"db.com","user"=>"DB-DUDE","pass"=>"super-secret123","port"=>"3306],"slave"=>["pass"=>"abc123"]]
```

License
-------

[](#license)

ParameterTree is open-sourced software licensed under the MIT license

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~140 days

Total

5

Last Release

3573d ago

Major Versions

1.0.2 → 2.0.02016-08-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e3f54e9f2045e28b53533a8fd9dddeabbb7d9da099fd32b5ba33819a3ebb995?d=identicon)[ppanther](/maintainers/ppanther)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/arcanum-parameter-tree/health.svg)

```
[![Health](https://phpackages.com/badges/arcanum-parameter-tree/health.svg)](https://phpackages.com/packages/arcanum-parameter-tree)
```

PHPackages © 2026

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