PHPackages                             garoevans/config\_loader - 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. garoevans/config\_loader

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

garoevans/config\_loader
========================

Really simple ini config loader

v0.0.1(11y ago)027MITPHPPHP &gt;=5.3

Since Jul 17Pushed 11y ago1 watchersCompare

[ Source](https://github.com/garoevans/config_loader)[ Packagist](https://packagist.org/packages/garoevans/config_loader)[ RSS](/packages/garoevans-config-loader/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Config Loader
=============

[](#config-loader)

[![Latest Stable Version](https://camo.githubusercontent.com/514034cae80295c7a830af495071c2adfdd09bb3845720349904c42695679bb0/68747470733a2f2f706f7365722e707567782e6f72672f6761726f6576616e732f636f6e6669675f6c6f616465722f762f737461626c652e737667)](https://packagist.org/packages/garoevans/config_loader) [![Build Status](https://camo.githubusercontent.com/9d90c5dd8d4eb92134e363ce81a2957bb3c9237807b7d947735d2b8c49463cbe/68747470733a2f2f7472617669732d63692e6f72672f6761726f6576616e732f636f6e6669675f6c6f616465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/garoevans/config_loader) [![License](https://camo.githubusercontent.com/8cf5626240609b38da3586c27c4943bea47e5630c751ee0f3c8d4d2d86cdd471/68747470733a2f2f706f7365722e707567782e6f72672f6761726f6576616e732f636f6e6669675f6c6f616465722f6c6963656e73652e737667)](https://packagist.org/packages/garoevans/config_loader)

Installation
------------

[](#installation)

This library requires PHP 5.3 or later, and is installable and autoloadable via Composer as [garoevans/config\_loader](https://packagist.org/packages/garoevans/config_loader).

Usage
-----

[](#usage)

```
use Garoevans\ConfigLoader;

$config = ConfigLoader('config_directory', 'ini_file_name.ini');
$config->load();

// Gets the ini section called 'db' or returns an empty array
$config->get('db', array());

// Gets the value of 'host' from the 'db' section or returns an empty string
$config->get('db/host', '');
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

4323d ago

### Community

Maintainers

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

---

Top Contributors

[![garoevans](https://avatars.githubusercontent.com/u/1016708?v=4)](https://github.com/garoevans "garoevans (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laminas/laminas-code

Extensions to the PHP Reflection API, static code scanning, and code generation

1.9k185.4M172](/packages/laminas-laminas-code)[onokumus/metismenu

A jQuery menu plugin

2.0k263.3k5](/packages/onokumus-metismenu)[xiaodi/think-pinyin

ThinkPHP 中文转拼音扩展包

344.6k](/packages/xiaodi-think-pinyin)

PHPackages © 2026

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