PHPackages                             as283/plant-uml-processor - 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. as283/plant-uml-processor

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

as283/plant-uml-processor
=========================

Library for serializing and parsing PlantUML class diagrams.

v0.1.0(1y ago)0211GPL-2.0-or-laterPHP

Since May 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/as283-ua/PlantUML-Processor)[ Packagist](https://packagist.org/packages/as283/plant-uml-processor)[ RSS](/packages/as283-plant-uml-processor/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

PlantUML-Processor
==================

[](#plantuml-processor)

Parse and serialize PlantUML in PHP.

This package has been developed for internal use in the [PlantUML command for Artisan](https://github.com/as283-ua/Artisan-PlantUML)

[![License](https://camo.githubusercontent.com/ca5873b401f316154406fb9e0d71d7866db3d79d908bfdb38be4c171711b2e5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d47504c2d626c75652e737667)](LICENSE)[![Latest Version](https://camo.githubusercontent.com/1984c71666099ced3faf516631887f92ccda8ec82457ce827178043e6ae998fc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f61733238332d75612f506c616e74554d4c2d50726f636573736f722e737667)](https://github.com/as283-ua/PlantUML-Processor/releases)[![PHP Version](https://camo.githubusercontent.com/7663c9d53dc13cedaf0660a8745a7e77d2dd711257f36aa86ebce12a0600ef42/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e312d626c75652e737667)](https://www.php.net/)[![Java 1.8](https://camo.githubusercontent.com/4e8aec6492f250d27be1be66413e8262f8f9756ea92b492bf39c97b5d3c9c1df/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4a6176612d312e382d6f72616e67652e737667)](https://www.oracle.com/java/technologies/javase-jdk8-downloads.html)

Overview
--------

[](#overview)

This library provides an interface for processing PlantUML class diagrams with an in memory representation.

The purpose is to abstract class diagrams into more easily usable object-oriented types.

### Schema

[](#schema)

Contains an associative array of classes (using their name as the key) and an array of relations.

### ClassMetadata

[](#classmetadata)

Representation of a class. Has a name, an array of fields and an associative array of related classes (using their name as the key and a list of indexes in a $schema-&gt;relations).

### Relation

[](#relation)

Representation of a relation between classes. Has a field `from` and `to`. Both are arrays that are used as tuples, where the first element is the name of a class in the diagram, and the second element is of type `enum Multiplicity`, indicating how many of the other class this class is related to (for `from` it indicates if it has one or zero, one, any or at least one of the class in `to`). It also has a field `type` of type `enum RelationType`.

### Field

[](#field)

Representation of a single field in a class. Has name, type (object of type `enum Type` or null), visibility (object of type `enum Visibility` or null) and the modifiers unique, nullable and primary (bool).

Installation
------------

[](#installation)

In your project:

```
$ composer require as283/plant-uml-processor
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity30

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

717d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/36b93bb1e7141513493dab2698145ccd11a039e587fefc6857a299492bcdec9c?d=identicon)[As283](/maintainers/As283)

---

Top Contributors

[![as283-ua](https://avatars.githubusercontent.com/u/78732725?v=4)](https://github.com/as283-ua "as283-ua (50 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/as283-plant-uml-processor/health.svg)

```
[![Health](https://phpackages.com/badges/as283-plant-uml-processor/health.svg)](https://phpackages.com/packages/as283-plant-uml-processor)
```

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M282](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M226](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M63](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M343](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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