PHPackages                             ultra-lite/config-reader - 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. ultra-lite/config-reader

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

ultra-lite/config-reader
========================

1.0.0(9y ago)211MITPHPPHP &gt;=7.0.0

Since Jan 6Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ultra-lite/config-reader)[ Packagist](https://packagist.org/packages/ultra-lite/config-reader)[ RSS](/packages/ultra-lite-config-reader/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

[![Build Status](https://camo.githubusercontent.com/f7240eb5dc971e1358657316d36151295d38101d332cbb7f9875d89e3a6d6bf9/68747470733a2f2f7472617669732d63692e6f72672f756c7472612d6c6974652f636f6e6669672d7265616465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ultra-lite/config-reader)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3328073e4a7838b832d35812a341f1e2d0d159257b96f7ae396322b1f45b2e42/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f756c7472612d6c6974652f636f6e6669672d7265616465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ultra-lite/config-reader/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/98d6580297bfbc7852fc4b591fd66e3f31284a3fe79d509e3ab00d4224bff8b9/68747470733a2f2f706f7365722e707567782e6f72672f756c7472612d6c6974652f636f6e6669672d7265616465722f762f737461626c65)](https://packagist.org/packages/ultra-lite/config-reader)[![MIT Licence](https://camo.githubusercontent.com/fabb40ab22588a0746bb0916ed92739171bde7fb31f281c627aa588bcba62cc2/68747470733a2f2f6261646765732e66726170736f66742e636f6d2f6f732f6d69742f6d69742e7376673f763d313033)](https://opensource.org/licenses/mit-license.php)

[![logo](https://avatars1.githubusercontent.com/u/16309098?v=3&s=100)](https://avatars1.githubusercontent.com/u/16309098?v=3&s=100) Ultra-Lite Config Reader
============================================================================================================================================================

[](#-ultra-lite-config-reader)

An ultra-lightweight config file parser.

Usage
-----

[](#usage)

```
$configReader = new \UltraLite\ConfigReader\ConfigReader;
$array = $configReader->getConfigArray('/path/to/file.json');
```

Error Handling
--------------

[](#error-handling)

If there is a problem, it (only) throws an `\UltraLite\ConfigReader\Exception\ConfigReaderException` of some kind.

Supported File Types
--------------------

[](#supported-file-types)

`.json`, `.ini` and `.php` 'return array' files are supported. To be part of the UltraLite project, it is quite lightweight, but it can be extended to support other file types. Just come up with your own implementation of `\UltraLite\ConfigReader\FileParser`:

```
$customFileParser = new MyXmlFileParser();
$configReader->addFileParser($customFileParser);
$array = $configReader->getConfigArray('/path/to/file.xml');
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

2

Last Release

3377d ago

Major Versions

0.1.0 → 1.0.02017-02-14

### 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 (20 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ultra-lite-config-reader/health.svg)

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

###  Alternatives

[corejavascript/typeahead.js

fast and fully-featured autocomplete library

975103.8k2](/packages/corejavascript-typeaheadjs)[oat-sa/lib-lti1p3-core

OAT LTI 1.3 Core Library

36341.9k10](/packages/oat-sa-lib-lti1p3-core)[scrumble-nl/laravel-model-ts-type

This package makes it possible to generate TypeScript types based on your models

6984.5k](/packages/scrumble-nl-laravel-model-ts-type)[jeremykenedy/laravel-phpinfo

phpinfo() in a pretty Laravel blade template

46178.4k](/packages/jeremykenedy-laravel-phpinfo)[jweiland/events2

Events 2 - Create single and recurring events

2062.4k2](/packages/jweiland-events2)[alt-design/alt-seo

Alt SEO addon, add SEO tags to your site

1227.4k](/packages/alt-design-alt-seo)

PHPackages © 2026

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