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

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

dschoenbauer/config
===================

Description of project Config.

v1.0.3(7y ago)020PHP

Since Sep 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/dschoenbauer/config)[ Packagist](https://packagist.org/packages/dschoenbauer/config)[ RSS](/packages/dschoenbauer-config/feed)WikiDiscussions develop Synced 2w ago

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

Config
======

[](#config)

A common library to load a directory full of JSON files into a massive array that can be accessed.

[![Build Status](https://camo.githubusercontent.com/d7a2d0ae86353d85468301dfa16ec3494583a6e2d876c4b6398f409cedae7a77/68747470733a2f2f7472617669732d63692e6f72672f647363686f656e62617565722f636f6e6669672e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/dschoenbauer/config) [![Coverage Status](https://camo.githubusercontent.com/8b89438ee627f76de063331411eb2000ce7059b3151f27ef5031a087f29a8458/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f647363686f656e62617565722f636f6e6669672f62616467652e7376673f6272616e63683d646576656c6f70)](https://coveralls.io/github/dschoenbauer/config?branch=develop) [![License](https://camo.githubusercontent.com/925cae7756b5a01ed7a05ee2ef4f28bc96fc1cac12c7d7fd689ce9da1e0c6f66/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f647363686f656e62617565722f636f6e6669672e737667)](https://github.com/dschoenbauer/config) [![Downloads](https://camo.githubusercontent.com/62b1223f24e2f2f97b544f6d6ba5f56a2ac9aa5f8da6acf3d48a165b353dccf4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f647363686f656e62617565722f636f6e6669672e737667)](https://packagist.org/packages/dschoenbauer/config) [![Version](https://camo.githubusercontent.com/ec21b1b81502ff3926019a04a9ce4579a6ff593be16586c1d1d289ae8ca9da46/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f647363686f656e62617565722f636f6e6669672e737667)](https://github.com/dschoenbauer/config/releases)

### Methods summary

[](#methods-summary)

MethodDescriptionpublic **\_\_construct( string $path = null )**public **mixed get( string $dotNotation, mixed $defaultValue = null )**retrieves a value from the amalgamation of all the JSON files datapublic **array getFiles( string $path )**retrieves an array of JSON files found in a directorypublic **importData( array $files = \[\] )**loads data into the object from a list of JSON files. If run multiple times the data will be continually added topublic **load( string $path )**loads JSON files from a directory pathpublic **DSchoenbauer\\DotNotation\\ArrayDotNotation #getArrayDot( )**Array dot notation allows for quick and easy access to a complicated data structurepublic **setArrayDot( DSchoenbauer\\DotNotation\\ArrayDotNotation $arrayDot )**Array dot notation allows for quick and easy access to a complicated data structurepublic string **filterPath( string $path )**Cleans a string so that it is truly a path relevant to the class.

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

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

Total

4

Last Release

2899d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae8bbfa347804db9df5bd9e69b7e3228f94fe30c41fd8714f764bed2cf567654?d=identicon)[dschoenbauer](/maintainers/dschoenbauer)

---

Top Contributors

[![dschoenbauer](https://avatars.githubusercontent.com/u/1693875?v=4)](https://github.com/dschoenbauer "dschoenbauer (13 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[tuupola/ksuid

K-Sortable Globally Unique IDs

1061.3M6](/packages/tuupola-ksuid)[hasan-ahani/filament-otp-input

Otp input for filament

2682.7k](/packages/hasan-ahani-filament-otp-input)[rainlab/location-plugin

Location plugin for October CMS

2123.7k7](/packages/rainlab-location-plugin)[zenepay/filament-buddhist-date-picker

Laravel Filament DatePicker with Bhuddist Era plugin

215.3k](/packages/zenepay-filament-buddhist-date-picker)

PHPackages © 2026

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