PHPackages                             fluentdom/yaml-symfony - 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. fluentdom/yaml-symfony

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

fluentdom/yaml-symfony
======================

YAML support for FluentDOM (using Symfony/YAML)

3.0.0(5y ago)0241[1 issues](https://github.com/ThomasWeinert/FluentDOM-YAML-Symfony/issues)MITPHPPHP &gt;=7.2

Since Feb 6Pushed 2y ago2 watchersCompare

[ Source](https://github.com/ThomasWeinert/FluentDOM-YAML-Symfony)[ Packagist](https://packagist.org/packages/fluentdom/yaml-symfony)[ Docs](http://fluentdom.org)[ RSS](/packages/fluentdom-yaml-symfony/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (7)Used By (0)

FluentDOM-YAML-Symfony
======================

[](#fluentdom-yaml-symfony)

[![License](https://camo.githubusercontent.com/e5e7100202488407d6c54e844c46cc0710b6ae0d89e29ef54a78be1aa2a6a791/68747470733a2f2f706f7365722e707567782e6f72672f666c75656e74646f6d2f79616d6c2d73796d666f6e792f6c6963656e73652e737667)](http://www.opensource.org/licenses/mit-license.php)[![CI](https://github.com/ThomasWeinert/FluentDOM-YAML-Symfony/actions/workflows/ci.yml/badge.svg)](https://github.com/ThomasWeinert/FluentDOM-YAML-Symfony/actions/workflows/ci.yml)[![Total Downloads](https://camo.githubusercontent.com/0cf2fb5ebbc4a541f999ef5030ff941dc0827bade7a8da09667399a37af87877/68747470733a2f2f706f7365722e707567782e6f72672f666c75656e74646f6d2f79616d6c2d73796d666f6e792f646f776e6c6f6164732e737667)](https://packagist.org/packages/fluentdom/yaml-symfony)[![Latest Stable Version](https://camo.githubusercontent.com/3f6b2ed92d38e16dbee89242e221e5c27d2aaf31c702702cd800abb360ac22cc/68747470733a2f2f706f7365722e707567782e6f72672f666c75656e74646f6d2f79616d6c2d73796d666f6e792f762f737461626c652e737667)](https://packagist.org/packages/fluentdom/yaml-symfony)[![Latest Unstable Version](https://camo.githubusercontent.com/6ab9d5baaf64d7c66ce80bf10ebb63d8a9c7117228dc3e2af227baff356a15f2/68747470733a2f2f706f7365722e707567782e6f72672f666c75656e74646f6d2f79616d6c2d73796d666f6e792f762f756e737461626c652e737667)](https://packagist.org/packages/fluentdom/yaml-symfony)

Adds support for YAML to FluentDOM. It adds a loader and a serializer. It uses the [Symfony/YAML](http://symfony.com/doc/current/components/yaml/introduction.html) component.

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

[](#installation)

```
composer require fluentdom/yaml-symfony

```

Loader
------

[](#loader)

The loader registers automatically. You can trigger it with the types `yaml` and `text/yaml`.

```
$document = FluentDOM::load($yaml, 'text/yaml');
$query = FluentDOM($yaml, 'text/yaml');
```

Serializer
----------

[](#serializer)

The serializer needs to be created for a document and can be cast into a string.

```
echo new FluentDOM\YAML\Symfony\Serializer($document);
```

```
$query = FluentDOM($yaml, 'text/yaml');
echo $query;
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 70% 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 ~456 days

Recently: every ~571 days

Total

6

Last Release

1826d ago

Major Versions

1.1.x-dev → 2.0.02019-12-15

2.0.0 → 3.0.02021-05-08

PHP version history (2 changes)2.0.0PHP &gt;=7.0

3.0.0PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/236825?v=4)[Thomas Weinert](/maintainers/ThomasWeinert)[@ThomasWeinert](https://github.com/ThomasWeinert)

---

Top Contributors

[![ThomasWeinert](https://avatars.githubusercontent.com/u/236825?v=4)](https://github.com/ThomasWeinert "ThomasWeinert (14 commits)")[![xvilo](https://avatars.githubusercontent.com/u/390769?v=4)](https://github.com/xvilo "xvilo (6 commits)")

---

Tags

xmlyamldomfluentdom

### Embed Badge

![Health badge](/badges/fluentdom-yaml-symfony/health.svg)

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

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M226](/packages/masterminds-html5)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)[hassankhan/config

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

97513.5M169](/packages/hassankhan-config)[sabre/xml

sabre/xml is an XML library that you may not hate.

52832.2M131](/packages/sabre-xml)[veewee/xml

XML without worries

1835.9M29](/packages/veewee-xml)[fluentdom/fluentdom

A fluent api for the php dom extension.

337306.9k17](/packages/fluentdom-fluentdom)

PHPackages © 2026

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