PHPackages                             arturu/laying - 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. arturu/laying

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

arturu/laying
=============

Laying convert YAML to XML/HTML file

v2.4(6y ago)043GPL v3.0PHP &gt;=5.6

Since Jun 15Compare

[ Source](https://github.com/arturu/laying)[ Packagist](https://packagist.org/packages/arturu/laying)[ Docs](http://arturu.it)[ RSS](/packages/arturu-laying/feed)WikiDiscussions Synced 2d ago

READMEChangelog (8)Dependencies (7)Versions (9)Used By (0)

Laying
======

[](#laying)

[![Build Status](https://camo.githubusercontent.com/5b71c4385668ea940ac3b4c285064d57115170dc7d66886ec3e5807ff094ec4d/68747470733a2f2f7472617669732d63692e6f72672f6172747572752f6c6179696e672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/arturu/laying)

Laying converts an array in YML format into nested XML / HTML tags. Laying facilitates the development and management of templates for the most popular CMS. In addition, laying allows you to manage the structure of XML files. Laying receives in input a YML file that represents the structure of the file to generate and outputs the result.

[![alt tag](https://camo.githubusercontent.com/830505bbb99112ec59a847d341fdf23f7321441d8d2ea41dc33855c24b8956b6/687474703a2f2f6172747572752e69742f646f776e6c6f61642f6c6179696e672d646f63732f79616d6c5f746f5f68746d6c2e706e67)](https://camo.githubusercontent.com/830505bbb99112ec59a847d341fdf23f7321441d8d2ea41dc33855c24b8956b6/687474703a2f2f6172747572752e69742f646f776e6c6f61642f6c6179696e672d646f63732f79616d6c5f746f5f68746d6c2e706e67)

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

[](#installation)

```
composer require arturu/laying

```

Usage
-----

[](#usage)

```
cd vendor/arturu/laying

bin/console render /path/source/page.yml > /path/to/template/page.html

```

For example

```
cd vendor/arturu/laying

```

edit configuration file

```
nano examples/basic-examples/page-standard.yml

```

and exec

```
bin/console render examples/basic-examples/page-standard.yml > /path/to/template/page.html.twig

```

Documentation
-------------

[](#documentation)

See docs folder for documentation

License
-------

[](#license)

GPL v3.0 - Read LICENSE file

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity63

Established project with proven stability

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 ~131 days

Recently: every ~194 days

Total

8

Last Release

2386d ago

Major Versions

v1.2 → v2.02017-11-02

PHP version history (3 changes)v1.0PHP &gt;=5.5.9

v1.2PHP &gt;=5.5

v2.2PHP &gt;=5.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4628942?v=4)[Pietro Arturo Panetta](/maintainers/arturu)[@arturu](https://github.com/arturu)

---

Tags

ymlxml generatorhtml-generatortemplate generatorTemplate automation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/arturu-laying/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M719](/packages/sylius-sylius)[friendsoftypo3/content-blocks

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

103519.9k45](/packages/friendsoftypo3-content-blocks)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M482](/packages/pimcore-pimcore)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19664.8M1.7k](/packages/drupal-core)

PHPackages © 2026

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