PHPackages                             keiii/yaml-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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. keiii/yaml-config

AbandonedArchivedLibrary[Parsing &amp; Serialization](/categories/parsing)

keiii/yaml-config
=================

YAML config utilize symfony components (The Config Component and The Yaml Component) to provide symfony like configuration for any application.

0.2.1(9y ago)32.5k↓100%1MITPHPPHP ^5.5|^7.0

Since Sep 2Pushed 9y ago2 watchersCompare

[ Source](https://github.com/KEIII/YamlConfig)[ Packagist](https://packagist.org/packages/keiii/yaml-config)[ Docs](https://github.com/KEIII)[ RSS](/packages/keiii-yaml-config/feed)WikiDiscussions master Synced 2mo ago

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

[![Build Status](https://camo.githubusercontent.com/ec86a87cb720144fe0f93afceab6ceb941e2f97fc7a76e1dbddd0dcd13cbd6a7/68747470733a2f2f7472617669732d63692e6f72672f4b454949492f59616d6c436f6e6669672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/KEIII/YamlConfig)

Utilize symfony components ([The Config Component](https://symfony.com/doc/current/components/config.html) and [The Yaml Component](https://symfony.com/doc/current/components/yaml.html)) to provide symfony like configuration for any application.

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

[](#installation)

```
composer require keiii/yaml-config
```

Config example
--------------

[](#config-example)

```
# /parameters.yml
parameters:
    db_username: 'root'
    db_password: 'secret'
```

```
# /config/config.env.yml
imports:
    - { resource: '../parameters.yml' }

database:
    username: '%db_username%'
    password: '%db_password%'
```

Usage
-----

[](#usage)

```
