PHPackages                             stolt/poml-php - 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. stolt/poml-php

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

stolt/poml-php
==============

A library for writing, reading, and validating POML files.

v0.0.1(9mo ago)00MITPHPPHP ^8.1CI failing

Since Sep 12Pushed 9mo agoCompare

[ Source](https://github.com/raphaelstolt/poml-php)[ Packagist](https://packagist.org/packages/stolt/poml-php)[ RSS](/packages/stolt-poml-php/feed)WikiDiscussions main Synced today

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

POML PHP
========

[](#poml-php)

[![Test Status](https://github.com/raphaelstolt/poml-php/workflows/test/badge.svg)](https://github.com/raphaelstolt/poml-php/workflows/test/badge.svg)[![Version](https://camo.githubusercontent.com/3214bd5f13cfd158879ce416a78b5320dd2319eadfd6645d113b5194ebbbe0be/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73746f6c742f706f6d6c2d7068702e7376673f7374796c653d666c6174)](https://packagist.org/packages/stolt/poml-php)[![Downloads](https://camo.githubusercontent.com/28587b04a74b0ece2406b5dc9be61c5ee725e0caf47fc468938c357bdb083924/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746f6c742f706f6d6c2d706870)](https://camo.githubusercontent.com/28587b04a74b0ece2406b5dc9be61c5ee725e0caf47fc468938c357bdb083924/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746f6c742f706f6d6c2d706870)[![PHP Version](https://camo.githubusercontent.com/770d43133153ead0a9b8526e3352ca9933aa60cadcac54fd28aca42c3f71a613/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e312b2d6666363962342e737667)](https://camo.githubusercontent.com/770d43133153ead0a9b8526e3352ca9933aa60cadcac54fd28aca42c3f71a613/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e312b2d6666363962342e737667)[![PDS Skeleton](https://camo.githubusercontent.com/3c7140ee36205075ed977142f25c29eb1fb7809e9b86a865461fc21776ad1665/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7064732d736b656c65746f6e2d626c75652e7376673f7374796c653d666c6174)](https://github.com/php-pds/skeleton)

This library supports you in creating, reading, and validating [POML](https://microsoft.github.io/poml/latest/) markup files via PHP.

Installation and usage
----------------------

[](#installation-and-usage)

```
composer require stolt/poml-php
```

Validating a POML file:

```
use Stolt\Poml;

$errors = Poml::validateFile('example.poml');

if ($errors === []) {
    echo "The provided POML file is valid.";
}
```

Running tests
-------------

[](#running-tests)

This repository uses [Pest](https://pestphp.com/) for testing.

```
composer test
```

### License

[](#license)

This library is licensed under the MIT license. Please see [LICENSE.md](LICENSE.md) for more details.

### Changelog

[](#changelog)

Please see [CHANGELOG.md](CHANGELOG.md) for more details.

### Contributing

[](#contributing)

Please see [CONTRIBUTING.md](.github/CONTRIBUTING.md) for more details.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance56

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

294d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/132faf5713fa951f4263fad02858a62e55c5d832ad775b33e49ba0cda2f2a028?d=identicon)[Raphael Stolt](/maintainers/Raphael%20Stolt)

---

Top Contributors

[![raphaelstolt](https://avatars.githubusercontent.com/u/48225?v=4)](https://github.com/raphaelstolt "raphaelstolt (1 commits)")

---

Tags

aipomlprompt orchestration

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/stolt-poml-php/health.svg)

```
[![Health](https://phpackages.com/badges/stolt-poml-php/health.svg)](https://phpackages.com/packages/stolt-poml-php)
```

###  Alternatives

[helgesverre/toon

Token-Oriented Object Notation - A compact data format for reducing token consumption when sending structured data to LLMs

127154.0k22](/packages/helgesverre-toon)[mischasigtermans/laravel-toon

Token-Optimized Object Notation encoder/decoder for Laravel with intelligent nested object handling

14238.4k](/packages/mischasigtermans-laravel-toon)[spatie/laravel-markdown-response

Serve markdown versions of your HTML pages to AI agents and bots

7655.9k6](/packages/spatie-laravel-markdown-response)[sbsaga/toon

🧠 TOON for Laravel — a compact, human-readable, and token-efficient data format for AI prompts &amp; LLM contexts. Perfect for ChatGPT, Gemini, Claude, Mistral, and OpenAI integrations (JSON ⇄ TOON).

6753.8k](/packages/sbsaga-toon)

PHPackages © 2026

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