avris/suml

SUML for PHP

v0.3.1 2020-04-10 09:51 UTC

This package is auto-updated.

Last update: 2022-11-10 14:00:50 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 documentation at https://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

Copyright