PHPackages                             eye4web/zf2-site-config - 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. eye4web/zf2-site-config

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

eye4web/zf2-site-config
=======================

Site-configuration module for Zend Framework 2

0.1.0(8y ago)721.9k5MITPHPPHP &gt;=5.5CI failing

Since Jul 13Pushed 2y ago6 watchersCompare

[ Source](https://github.com/Eye4web/zf2-site-config)[ Packagist](https://packagist.org/packages/eye4web/zf2-site-config)[ Docs](https://github.com/Eye4web/ZF2-Site-Config)[ RSS](/packages/eye4web-zf2-site-config/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (10)Versions (4)Used By (0)

Eye4web\\SiteConfig
===================

[](#eye4websiteconfig)

[![Build Status](https://camo.githubusercontent.com/1b97c735e08d125ce922a7479a166654d83d8fbc01221c59e8a34f20b7640feb/68747470733a2f2f7472617669732d63692e6f72672f457965347765622f7a66322d736974652d636f6e6669672e737667)](https://travis-ci.org/Eye4web/zf2-site-config)[![Code Climate](https://camo.githubusercontent.com/bd63db45ab2551f4282d7520da59c3f28b82628dd6d3323dd9ef8afc0fd0bc71/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f457965347765622f7a66322d736974652d636f6e6669672f6261646765732f6770612e737667)](https://codeclimate.com/github/Eye4web/zf2-site-config)[![Test Coverage](https://camo.githubusercontent.com/3aaf1bb8579f5cedd6cbab7d89702961940b59e0bc18d5bbb04e5685a04dcda0/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f457965347765622f7a66322d736974652d636f6e6669672f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/Eye4web/zf2-site-config/coverage)[![Latest Stable Version](https://camo.githubusercontent.com/307a713792553d028861a1ab997eb3c03d04bc113d8450d9cda5070faab87730/68747470733a2f2f706f7365722e707567782e6f72672f657965347765622f7a66322d736974652d636f6e6669672f762f737461626c65)](https://packagist.org/packages/eye4web/zf2-site-config)[![License](https://camo.githubusercontent.com/a1bb858d7b7ce659e825385d9fc0ba7ae57b05df9cbf564f97f68b11b563388f/68747470733a2f2f706f7365722e707567782e6f72672f657965347765622f7a66322d736974652d636f6e6669672f6c6963656e7365)](https://packagist.org/packages/eye4web/zf2-site-config)[![Total Downloads](https://camo.githubusercontent.com/d831ac6a360be4089f828ca8521b70675f440ff095d05147cd894944396f0a80/68747470733a2f2f706f7365722e707567782e6f72672f657965347765622f7a66322d736974652d636f6e6669672f646f776e6c6f616473)](https://packagist.org/packages/eye4web/zf2-site-config)

Introduction
------------

[](#introduction)

This modules allows you to easily get site config in all of your files. The module can, out-of-the-box, read config values from the following:

- DoctrineORM
- Files(supported by `\Zend\Config\Reader`)
    - ini
    - json
    - xml
    - yaml
    - javaproperties
    - php array

*Note: This module does not help you write the config, you have to take care of that yourself.*

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

[](#installation)

1. Run the followng composer command:

    ```
    $ composer require eye4web/zf2-site-config:dev-master
    ```
2. Enable it in your `application.config.php` file.

    ```
