PHPackages                             buba71/yamlconfigloader - 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. buba71/yamlconfigloader

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

buba71/yamlconfigloader
=======================

A lightweigth configuration file loader that supports yaml

v1.0.0(5y ago)03MITPHPPHP &gt;=7.4

Since May 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/buba71/yamlConfigLoader)[ Packagist](https://packagist.org/packages/buba71/yamlconfigloader)[ RSS](/packages/buba71-yamlconfigloader/feed)WikiDiscussions develop Synced 3w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

A basic configuration file loader that supports Yaml format
===========================================================

[](#a-basic-configuration-file-loader-that-supports-yaml-format)

---

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

[](#installation)

```
composer require buba71/yamlconfigloader

```

---

Usage
-----

[](#usage)

```
use BUBA\ConfigLoader;

$parser = new ConfigLoader();

$parser->parse(__DIR__ .'/parameters.yaml');
$configData = $parser->getData();

```

Input file:

```
## parameters.yaml

user:
  class: User
  storage:
    class: SessionStorage
    cookie_name: PHP_SESS_ID

providers:
  users:
    entity:
      class: ClassName
      property: email

services:
  ServiceClassName1:
    parameters:
      parameter1: 1335
      parameter2: 65465

## parameters.yaml

```

output data:

```
$data =  [
  'user.class' => "User"
  'user.storage.class' => "SessionStorage"
  'user.storage.cookie_name' => "PHP_SESS_ID"
  'providers.users.entity.class' => "ClassName"
  'providers.users.entity.property' => "email"
  'services.ServiceClassName1.parameters.parameter1' => 1335
  'services.ServiceClassName1.parameters.parameter2' => 65465
]

```

---

CONTRIBUTING
---------------------------

[](#contributing)

---

LICENSE
-------

[](#license)

The MIT License (MIT).

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

1880d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23014351?v=4)[De Lima David](/maintainers/buba71)[@buba71](https://github.com/buba71)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/buba71-yamlconfigloader/health.svg)

```
[![Health](https://phpackages.com/badges/buba71-yamlconfigloader/health.svg)](https://phpackages.com/packages/buba71-yamlconfigloader)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49617.1k](/packages/blackfire-player)[altis/local-server

Local Server module for Altis

18221.6k3](/packages/altis-local-server)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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