stolt / poml-php
A library for writing, reading, and validating POML files.
v0.0.1
2025-09-12 17:07 UTC
Requires
- php: ^8.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.87
- peckphp/peck: ^0.1.3
- pestphp/pest: ^2.34
- phpstan/phpstan: ^1.10
- stolt/lean-package-validator: ^4.7
README
This library supports you in creating, reading, and validating POML markup files via PHP.
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
This repository uses Pest for testing.
composer test
License
This library is licensed under the MIT license. Please see LICENSE.md for more details.
Changelog
Please see CHANGELOG.md for more details.
Contributing
Please see CONTRIBUTING.md for more details.