PHPackages                             idrinth/yaml-facade - 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. idrinth/yaml-facade

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

idrinth/yaml-facade
===================

provides an facade for php-yaml, syck and symphony/yaml so switching in between is easier

1.2.1(1y ago)1976[1 PRs](https://github.com/Idrinth/php-yaml-facade/pulls)MITPHPPHP ^8.3CI passing

Since Dec 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Idrinth/php-yaml-facade)[ Packagist](https://packagist.org/packages/idrinth/yaml-facade)[ Docs](https://github.com/idrinth/php-yaml-facade/)[ RSS](/packages/idrinth-yaml-facade/feed)WikiDiscussions master Synced yesterday

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

PHP YAML Facade
===============

[](#php-yaml-facade)

[![Build Status](https://camo.githubusercontent.com/9856f4b04639f716fee8bebd712520d1bfd989dd843215d1fd656708d2a87494/68747470733a2f2f7472617669732d63692e6f72672f496472696e74682f7068702d79616d6c2d6661636164652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Idrinth/php-yaml-facade)[![Codacy Badge](https://camo.githubusercontent.com/4fd63dd806625e4645c2876b09415962b13b209adc4ef9633c1d4bf3b6131660/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3139666535646465336233303461643561393061653734376238393639613262)](https://www.codacy.com/app/Idrinth/php-yaml-facade?utm_source=github.com&utm_medium=referral&utm_content=Idrinth/php-yaml-facade&utm_campaign=Badge_Grade)[![Codacy Badge](https://camo.githubusercontent.com/fd4d26930ce0b0c0d9a868c7280af7df961f8b68c89a14143313ec3b08bcbb90/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f436f7665726167652f3139666535646465336233303461643561393061653734376238393639613262)](https://www.codacy.com/app/Idrinth/php-yaml-facade?utm_source=github.com&utm_medium=referral&utm_content=Idrinth/php-yaml-facade&utm_campaign=Badge_Coverage)[![Packagist](https://camo.githubusercontent.com/25b8898661e8da48ab424e283177348bfa4eea121429653f45028a7b8493937c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696472696e74682f79616d6c2d6661636164652e737667)](https://packagist.org/packages/idrinth/yaml-facade)[![Packagist](https://camo.githubusercontent.com/68b55a4eb95022ef46aa94d0b339b228d72c074d5f1fbab3af69359b398cd5d6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696472696e74682f79616d6c2d6661636164652e737667)](https://packagist.org/packages/idrinth/yaml-facade)[![license](https://camo.githubusercontent.com/6fccbe092370508a88cd1dbac596effab0d9e1d3fe01048a8e5f7b435f4d97e0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f696472696e74682f7068702d79616d6c2d6661636164652e737667)](https://github.com/Idrinth/php-yaml-facade/blob/master/LICENSE)

This library unifies the access to two different php-extensions and the symphony yaml component to make switching easier. It falls back to implementations in the following order:

- php yaml (  )
- php syck (  )
- symfony/yaml (  )

Limitations
-----------

[](#limitations)

Since the yaml-implementations deal with errors very differently, please don't try to parse something that is not intended to end up as an array.

Low Coverage
------------

[](#low-coverage)

Currently building the syck library fails on travis, so the related code can not be tested and tests are skipped.

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

[](#installation)

Installation via composer is the proposed way of using this library. It will always use [semantic versioning](http://semver.org).

```
"require": {
  "idrinth/yaml-facade": "^1.0"
}

```

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance40

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 91.7% 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 ~861 days

Total

4

Last Release

528d ago

PHP version history (2 changes)1.0.0PHP ^5.3.3 || ^7

1.2.1PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/cf9e3dc5b200e8a3c7004272ba94fa525a403c6a9668d4fed10c9437d6183f1d?d=identicon)[Idrinth](/maintainers/Idrinth)

---

Top Contributors

[![Idrinth](https://avatars.githubusercontent.com/u/7874631?v=4)](https://github.com/Idrinth "Idrinth (44 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

---

Tags

facadephpyamlymlyamlymlserializerfacadedeserializer

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/idrinth-yaml-facade/health.svg)

```
[![Health](https://phpackages.com/badges/idrinth-yaml-facade/health.svg)](https://phpackages.com/packages/idrinth-yaml-facade)
```

###  Alternatives

[mustangostang/spyc

A simple YAML loader/dumper class for PHP

73242.4M202](/packages/mustangostang-spyc)[hassankhan/config

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

97413.7M184](/packages/hassankhan-config)[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.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[thunderer/serializard

Flexible serializer

2667.7k1](/packages/thunderer-serializard)

PHPackages © 2026

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