avris/suml-symfony

SUML support for Symfony

Installs: 1 167

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

Type:symfony-bundle

v0.4.4 2023-05-10 22:09 UTC

This package is auto-updated.

Last update: 2024-12-11 01:59:17 UTC


README

SUML logo

This is a Symfony bundle that provides a support for SUML: Simple & Unambiguous Markup Language. You can check out its specification at gitlab.com/Avris/SUML

Features

Installation

composer require avris/suml-symfony

In the Kernel of your application, add .suml as a valid config extension:

const CONFIG_EXTS = '.{php,xml,yaml,yml,suml}';

And activate SUML as a source of Container config by adding a trait to your Kernel:

use SumlKernelTrait;

If you want to convert your existing files from YAML to SUML, you can run:

bin/console suml:from-yaml <directory-or-filename> -r