PHPackages                             samburns/config-file-parser - 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. samburns/config-file-parser

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

samburns/config-file-parser
===========================

2.0.0(10y ago)02.1k11MITPHPPHP ^7.0.0

Since Dec 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Sam-Burns/config-file-parser)[ Packagist](https://packagist.org/packages/samburns/config-file-parser)[ RSS](/packages/samburns-config-file-parser/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (1)

[![Build Status](https://camo.githubusercontent.com/c863ee508f7f2f1692acb0e8103b9dfa5944c41dc2ebc9b5b0fb8464bb6a111a/68747470733a2f2f7472617669732d63692e6f72672f53616d2d4275726e732f636f6e6669672d66696c652d7061727365722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Sam-Burns/config-file-parser)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/8e8638d712c22cf3ee6f41a4d376fc9e64f1cfb6b2d4be0c6f1733f3e9293bd1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f53616d2d4275726e732f636f6e6669672d66696c652d7061727365722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Sam-Burns/config-file-parser/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/de9ff19513e74108837b9c866102ead4754410765306142e776c3376612b805a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f53616d2d4275726e732f636f6e6669672d66696c652d7061727365722f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/Sam-Burns/config-file-parser?branch=master)

Config File Parser
==================

[](#config-file-parser)

Creates arrays based on config files. Works with YAML, JSON, .ini files and PHP 'return array' files. Use as follows:

```
$parser = new \SamBurns\ConfigFileParser\ConfigFileParser();
$fileContentsAsArray = $parsableFileFactory->parseConfigFile($pathToFileOfSupportedType);
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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 ~3 days

Total

3

Last Release

3857d ago

Major Versions

0.1.0 → 1.0.02015-12-03

1.0.0 → 2.0.02015-12-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/9dc0c2d8bba727c2b30227f0e9eb327906ae55f4673bb48df1c846365e58d526?d=identicon)[Sam-Burns](/maintainers/Sam-Burns)

---

Top Contributors

[![Sam-Burns](https://avatars.githubusercontent.com/u/6594039?v=4)](https://github.com/Sam-Burns "Sam-Burns (6 commits)")[![mikeSimonson](https://avatars.githubusercontent.com/u/907613?v=4)](https://github.com/mikeSimonson "mikeSimonson (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/samburns-config-file-parser/health.svg)

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

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49517.1k](/packages/blackfire-player)[altis/local-server

Local Server module for Altis

18217.0k2](/packages/altis-local-server)

PHPackages © 2026

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