PHPackages                             jtet/miniconfig - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. jtet/miniconfig

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

jtet/miniconfig
===============

Simple configuration file loader for PHP in 20 lines of code.

1.0.0(13y ago)126OSL-3.0PHPPHP &gt;=5.3.0

Since Nov 19Pushed 13y agoCompare

[ Source](https://github.com/jtet/MiniConfig)[ Packagist](https://packagist.org/packages/jtet/miniconfig)[ Docs](https://github.com/jtet/MiniConfig)[ RSS](/packages/jtet-miniconfig/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

MiniConfig
==========

[](#miniconfig)

Simple configuration file loader for PHP in 20 lines of code.

\##Using MiniConfig

Mini Config can load YAML (.yml) or INI (.ini) files. The variables in your configuration file can be accessed as if they were properties of the Config object.

```
$c = new \JTet\Mini\Config("config.yml");
echo $c->db_user;
```

\##Getting MiniConfig

Add the following to your [composer.json](http://getcomposer.org) file and run `composer update`.

```
"require": {
        "jtet/miniconfig": "dev-master"
    }

```

\##License MiniConfig is available for your use under the [OSL-3.0](http://www.spdx.org/licenses/OSL-3.0#licenseText) license.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

4919d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

configyamlini

### Embed Badge

![Health badge](/badges/jtet-miniconfig/health.svg)

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

###  Alternatives

[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

97513.5M170](/packages/hassankhan-config)[pragmarx/yaml

Load your Laravel config files using yaml

1152.8M29](/packages/pragmarx-yaml)[thewunder/conphigure

Framework Agnostic Configuration Library

3115.9k](/packages/thewunder-conphigure)[m1/vars

Vars is a simple to use and easily extendable configuration loader with in built loaders for ini, json, PHP, toml, XML and yaml/yml file types. It also comes with in built support for Silex and more frameworks to come soon.

69124.2k1](/packages/m1-vars)[phppkg/config

Config manage, load, get. Supports INI,JSON,YAML,NEON,PHP format file

133.5k](/packages/phppkg-config)[northwoods/config

Simple configuration loader

1516.0k](/packages/northwoods-config)

PHPackages © 2026

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