PHPackages                             junker/yaml-configuration-service-provider - 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. junker/yaml-configuration-service-provider

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

junker/yaml-configuration-service-provider
==========================================

YAML Configuration Service Provider for Silex

0.2.0(6y ago)45661MITPHPCI failing

Since Feb 11Pushed 6y ago2 watchersCompare

[ Source](https://github.com/Junker/YamlConfigurationServiceProvider)[ Packagist](https://packagist.org/packages/junker/yaml-configuration-service-provider)[ RSS](/packages/junker-yaml-configuration-service-provider/feed)WikiDiscussions master Synced 4w ago

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

YamlConfigurationServiceProvider
================================

[](#yamlconfigurationserviceprovider)

YAML Configuration Service Provider for Silex

[![Latest Stable Version](https://camo.githubusercontent.com/282618a20f761467dee831db56f50b51b8d87e3bcb069c9906b020c7af617c08/68747470733a2f2f706f7365722e707567782e6f72672f6a756e6b65722f79616d6c2d636f6e66696775726174696f6e2d736572766963652d70726f76696465722f762f737461626c65)](https://packagist.org/packages/junker/yaml-configuration-service-provider)[![Total Downloads](https://camo.githubusercontent.com/fe1f4d642d4e5e33f883bdd0fa702ab872e09b54852ed675567213ead10fd105/68747470733a2f2f706f7365722e707567782e6f72672f6a756e6b65722f79616d6c2d636f6e66696775726174696f6e2d736572766963652d70726f76696465722f646f776e6c6f616473)](https://packagist.org/packages/junker/yaml-configuration-service-provider)[![Build Status](https://camo.githubusercontent.com/3007f5d5e8d98ddf422afe934b5d1b07014091309ef828f1f9e0861fa109ba55/68747470733a2f2f7472617669732d63692e6f72672f4a756e6b65722f59616d6c436f6e66696775726174696f6e5365727669636550726f76696465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Junker/YamlConfigurationServiceProvider)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e473165aaae55002cdd5281ff86734f2524ef9ac50ecd0fa478c2456460ff18e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4a756e6b65722f59616d6c436f6e66696775726174696f6e5365727669636550726f76696465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Junker/YamlConfigurationServiceProvider/?branch=master)[![License](https://camo.githubusercontent.com/2ae8f40942ff6728a35705b3bdf290da6d8ef6eaa256d7639d177bd9a85cac35/68747470733a2f2f706f7365722e707567782e6f72672f6a756e6b65722f79616d6c2d636f6e66696775726174696f6e2d736572766963652d70726f76696465722f6c6963656e7365)](https://packagist.org/packages/junker/yaml-configuration-service-provider)

Requirements
------------

[](#requirements)

silex 2.x

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

[](#installation)

The best way to install YamlConfigurationServiceProvider is to use a [Composer](https://getcomposer.org/download):

```
php composer.phar require junker/yaml-configuration-service-provider

```

Supports
--------

[](#supports)

- Recursive config imports ([Configuration Organization](http://symfony.com/doc/current/cookbook/configuration/configuration_organization.html))
- Config Cache (Performance boost)

Examples
--------

[](#examples)

```
use Junker\Silex\Provider\YamlConfigurationServiceProvider;

$app->register(new YamlConfigurationServiceProvider('config.yml'));

# or

$app->register(new YamlConfigurationServiceProvider('config.yml', ['cache_dir' => '/tmp/config_cache']));

$db_host = $app['config']['db']['host'];
```

Config example:

```
imports:
     - { resource: 'site/config.yml' }
     - { resource: 'security.yml' }

db:
    host: localhost
    login: root
    pass: 123123
    database: site12

facebook:
    scope: 'public_profile,email,user_birthday,user_location,user_photos'
    secret_key: FDSLKFDNSLsdre23lkndas
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~529 days

Total

4

Last Release

2203d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1144095?v=4)[Dmitry Kosenkov](/maintainers/Junker)[@Junker](https://github.com/Junker)

---

Top Contributors

[![Junker](https://avatars.githubusercontent.com/u/1144095?v=4)](https://github.com/Junker "Junker (3 commits)")

---

Tags

configurationconfigyamlsilex

### Embed Badge

![Health badge](/badges/junker-yaml-configuration-service-provider/health.svg)

```
[![Health](https://phpackages.com/badges/junker-yaml-configuration-service-provider/health.svg)](https://phpackages.com/packages/junker-yaml-configuration-service-provider)
```

###  Alternatives

[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

97413.7M183](/packages/hassankhan-config)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)[m1/vars

Vars is a simple to use and easily extendable configuration loader with in built loaders for ini, json, PHP, toml, XML and yaml/yml file types. It also comes with in built support for Silex and more frameworks to come soon.

64124.3k1](/packages/m1-vars)[thewunder/conphigure

Framework Agnostic Configuration Library

3119.1k](/packages/thewunder-conphigure)[aeliot/todo-registrar

Register TODOs from source code in issue tracker

153.0k](/packages/aeliot-todo-registrar)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
