PHPackages                             panda/config - 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. panda/config

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

panda/config
============

The Panda Config Package.

v3.0.0(1y ago)12.4k↓36.7%11MITPHPPHP ^8.3

Since Jun 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/PandaPlatform/config)[ Packagist](https://packagist.org/packages/panda/config)[ Docs](http://pandaphp.org)[ RSS](/packages/panda-config/feed)WikiDiscussions 2.1 Synced 2d ago

READMEChangelog (1)Dependencies (2)Versions (6)Used By (1)

Configuration
=============

[](#configuration)

> **\[READ-ONLY\]** Subtree split of the Panda Config Package

- [Introduction](#introduction)
- [Shared Configuration](#shared-configuration)
- [Configuration parsers](#configuration-parsers)
- [Accessing Configuration Values](#accessing-configuration-values)

Introduction
------------

[](#introduction)

All of the configuration files for the Panda framework are stored in the `config` directory. The main configuration file is named `config-default` followed by the extension according to the configuration type.

The main configuration file should include all the necessary config values for all the different services or features of your application.

Shared Configuration
--------------------

[](#shared-configuration)

The configuration values are being loaded in a common/shared configuration that is accessible during runtime at any time without the access to the configuration object.

Shared configuration is a sub-set of the shared registry and it can keep its values during runtime across different objects.

Configuration parsers
---------------------

[](#configuration-parsers)

The default configuration parser for the configuration files is the `\Panda\Config\Parsers\JsonParser` which support json files.

The job of the parsers (from the `config` package) is to parse the configuration files and return an array of their values.

Accessing Configuration Values
------------------------------

[](#accessing-configuration-values)

You may easily access your configuration values using the `SharedConfiguration` object. The configuration values may be accessed using "dot" syntax, which is being translated in encapsulated groups of values. A default value may also be specified and will be returned if the configuration option does not exist:

```
use \Panda\Config\SharedConfiguration;

$config = new SharedConfiguration();
$value = $config->get('routes.base_dir', $default = null);
```

You can also set configuration values at runtime:

```
use \Panda\Config\SharedConfiguration;

$config = new SharedConfiguration();
$config->set('logger.enabled', false);
```

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

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

Total

5

Last Release

586d ago

Major Versions

2.1.x-dev → 3.0.x-dev2024-11-25

PHP version history (2 changes)v2.0.0PHP ^7.0

3.0.x-devPHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2780884?v=4)[Ioannis Papikas](/maintainers/ioannis-papikas)[@ioannis-papikas](https://github.com/ioannis-papikas)

---

Top Contributors

[![ioannis-papikas](https://avatars.githubusercontent.com/u/2780884?v=4)](https://github.com/ioannis-papikas "ioannis-papikas (23 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/panda-config/health.svg)

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

###  Alternatives

[crowdstar/background-processing

To continue processing PHP after having HTTP response sent back to the client under PHP-FPM.

2158.4k](/packages/crowdstar-background-processing)[justbetter/magento2-customer-pricing

Customer specific pricing module for Magento 2

102.6k](/packages/justbetter-magento2-customer-pricing)

PHPackages © 2026

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