PHPackages                             kanellov/config-merge - 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. kanellov/config-merge

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

kanellov/config-merge
=====================

A simple function that merges config arrays

0.1.1(11y ago)11.8kMITPHPPHP &gt;=5.3.0

Since Mar 3Pushed 11y ago1 watchersCompare

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

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

config-merge
============

[](#config-merge)

[![Build Status](https://camo.githubusercontent.com/a23b93cd07aa74630b69787d4fb442013bb85abd5c7ebc8321f98436f0ff86b9/68747470733a2f2f7472617669732d63692e6f72672f6b616e656c6c6f762f636f6e6669672d6d657267652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kanellov/config-merge)

A simple function that merges configuration files.

Example
=======

[](#example)

In the following example \*.local.php files override the \*.global.php files.

configuration file /some/path/a.global.php

```
