PHPackages                             techsterx/slim-config-yaml - 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. techsterx/slim-config-yaml

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

techsterx/slim-config-yaml
==========================

v1.0.6(11y ago)45.2k31MITPHP

Since Apr 17Pushed 9y ago1 watchersCompare

[ Source](https://github.com/techsterx/slim-config-yaml)[ Packagist](https://packagist.org/packages/techsterx/slim-config-yaml)[ RSS](/packages/techsterx-slim-config-yaml/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (7)Dependencies (2)Versions (9)Used By (1)

Slim Config - YAML
==================

[](#slim-config---yaml)

[![Build Status](https://camo.githubusercontent.com/ea775ce4f8390b8a5c7db34d86fc94b4881119d0a661bb9b06e2b6eac7d2da3a/68747470733a2f2f7472617669732d63692e6f72672f7465636873746572782f736c696d2d636f6e6669672d79616d6c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/techsterx/slim-config-yaml)[![StyleCI](https://camo.githubusercontent.com/90c4a62d3ad21dd392a3363eba9b4602f459ba26ec0ece01a591ddd2083750c2/68747470733a2f2f7374796c6563692e696f2f7265706f732f31383834333934332f736869656c643f7374796c653d666c6174)](https://styleci.io/repos/18843943)[![Total Downloads](https://camo.githubusercontent.com/18459202c803f50687410d1bba2be7eda0bf4e70af8f1f450ffea0d75c7917da/68747470733a2f2f706f7365722e707567782e6f72672f7465636873746572782f736c696d2d636f6e6669672d79616d6c2f642f746f74616c2e737667)](https://packagist.org/packages/techsterx/slim-config-yaml)[![Latest Stable Version](https://camo.githubusercontent.com/6f80409ef795a9464bedae0048053e448b08e1c598796621e21b58020365f39d/68747470733a2f2f706f7365722e707567782e6f72672f7465636873746572782f736c696d2d636f6e6669672d79616d6c2f762f737461626c652e737667)](https://packagist.org/packages/techsterx/slim-config-yaml)[![License](https://camo.githubusercontent.com/96325afcb23708ad51d25f2e0ba491fdaa0b3edd64ad3d5dda1846d5a553ab6b/68747470733a2f2f706f7365722e707567782e6f72672f7465636873746572782f736c696d2d636f6e6669672d79616d6c2f6c6963656e73652e737667)](https://raw.githubusercontent.com/techsterx/slim-config-yaml/master/LICENSE)

Parses YAML files and adds them into Slim's config singleton. Uses Symfony's YAML Component to parse files (). Allows other YAML files to be imported and parameters to be set and used.

Getting Started
---------------

[](#getting-started)

### Installation

[](#installation)

#### Composer

[](#composer)

Install composer in your project.

```
curl -s https://getcomposer.org/installer | php

```

Create a `composer.json` file in your project root:

```
{
	"require": {
		"techsterx/slim-config-yaml": "1.*"
	}
}

```

Install via composer:

```
php composer.phar install

```

Add this line to your application's `index.php` file:

```
