PHPackages                             tomkyle/configreader - 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. [Caching](/categories/caching)
4. /
5. tomkyle/configreader

ActiveLibrary[Caching](/categories/caching)

tomkyle/configreader
====================

Successor of germania-kg/configreader: Merge default and custom configuration files with Symfony YAML. Supports PSR-6 CacheItemPools.

3.5.0(10mo ago)01.4kMITPHPPHP ^8.3CI passing

Since Jan 7Pushed 10mo agoCompare

[ Source](https://github.com/tomkyle/ConfigReader)[ Packagist](https://packagist.org/packages/tomkyle/configreader)[ Docs](https://github.com/tomkyle/ConfigReader)[ RSS](/packages/tomkyle-configreader/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (7)Versions (49)Used By (0)

tomkyle · ConfigReader
======================

[](#tomkyle--configreader)

**PHP 8.1+ successor of [GermaniaKG/ConfigReader](https://github.com/GermaniaKG/ConfigReader) by its original author. Reads and merges default and custom configuration files with [Symfony YAML](https://symfony.com/doc/current/components/yaml.html).**

[![Packagist](https://camo.githubusercontent.com/b3eb190edae4b2b7f8c0ff4afc4e18cd470289232dc8a84efa19ae71e3ea5e40/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f6d6b796c652f636f6e6669677265616465722e7376673f7374796c653d666c6174)](https://packagist.org/packages/tomkyle/configreader)[![PHP version](https://camo.githubusercontent.com/16866f6c7bddbd7f68383450ccf860a8a621c6b3005ea4abb5fbdaf12967b816/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f6d6b796c652f636f6e6669677265616465722e737667)](https://packagist.org/packages/tomkyle/configreader)[![Tests](https://github.com/tomkyle/ConfigReader/actions/workflows/tests.yml/badge.svg)](https://github.com/tomkyle/ConfigReader/actions/workflows/tests.yml)

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

[](#installation)

**This package is version v3.5 and requires PHP 8.3+** For older PHP versions 7.1 to 8.0, head over to [GermaniaKG/ConfigReader](https://github.com/GermaniaKG/ConfigReader) or [germania-kg/configreader](https://packagist.org/packages/germania-kg/configreader) on Packagist to install package version up to version 3.2.

```
$ composer require tomkyle/configreader
```

Roadmap
-------

[](#roadmap)

- From v4 onwards, the namespace will change from
    `Germania\ConfigReader` to `tomkyle\ConfigReader`

Interfaces
----------

[](#interfaces)

The **ConfigReaderInterface** requires an *\_\_invoke* method which may be called with an arbitrary number of filename strings:

```
