avris/suml

SUML for PHP

v0.3.2 2023-05-10 22:06 UTC

This package is auto-updated.

Last update: 2024-04-11 00:28:02 UTC


README

SUML logo

This is a PHP implementation of a parser and a dumper of SUML: Simple & Unambiguous Markup Language. You can check out its specification at gitlab.com/Avris/SUML

Installation

composer require avris/suml

Usage

$suml = new \Avris\Suml\Suml;

$parsed = $suml->parse("'input'");

$parsedFile = $suml->parseFile(__DIR__ . '/filename.suml');

$dump = $suml->dump(['foo' => 'bar', 'lorem' => true])

Tests

vendor/bin/phpunit

Framework support