PHPackages                             bartlett/graph-plantuml-generator - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. bartlett/graph-plantuml-generator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bartlett/graph-plantuml-generator
=================================

A PlantUML generator for graph-uml

1.7.1(9mo ago)03.3k1MITPHPPHP ^8.2CI passing

Since May 3Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/llaville/graph-plantuml-generator)[ Packagist](https://packagist.org/packages/bartlett/graph-plantuml-generator)[ RSS](/packages/bartlett-graph-plantuml-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (27)Used By (0)

bartlett/graph-plantuml-generator
=================================

[](#bartlettgraph-plantuml-generator)

ReleasesBranchPHPPackagistLicenseDocumentationStable v1.4.x[![Branch 1.4](https://camo.githubusercontent.com/c5b75597fc5c0f031a5a77812dd2476935b094ddd26770bf3daa1ea0293e4788/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6272616e63682d312e342d6f72616e6765)](https://github.com/llaville/graph-plantuml-generator/tree/1.4)[![Minimum PHP Version)](https://camo.githubusercontent.com/24f402c3177e746a5a898134077b5dd927bbce77044bcd9023dd651bce51d11c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f626172746c6574742f67726170682d706c616e74756d6c2d67656e657261746f722f312e342e30)](https://www.php.net/supported-versions.php)[![Stable Version 1.4](https://camo.githubusercontent.com/104a836519bdec50c4269190d18053694597392d9bc2c717f9708e447745ba8f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d76312e342e302d626c7565)](https://packagist.org/packages/bartlett/graph-plantuml-generator)[![License 1.4](https://camo.githubusercontent.com/ae8ac88a63357e477717d54e9534fcc2a1a39b1a6c043d8631ec41227b811f75/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f626172746c6574742f67726170682d706c616e74756d6c2d67656e657261746f72)](https://github.com/llaville/graph-plantuml-generator/blob/1.4/LICENSE)[![Documentation 1.4](https://camo.githubusercontent.com/7c5a766c1117a2112b190d8f18983b5cfc0cd587c510f7df6a255d7b4d326743/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63756d656e746174696f6e2d76312e342d677265656e)](https://github.com/llaville/graph-plantuml-generator/tree/1.4/docs)Stable v1.5.x[![Branch 1.5](https://camo.githubusercontent.com/259e332182673602549e3f9bdd40afd0bc3f5218758b511bbae5cd4d0b464994/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6272616e63682d312e352d6f72616e6765)](https://github.com/llaville/graph-plantuml-generator/tree/1.5)[![Minimum PHP Version)](https://camo.githubusercontent.com/3e665fae88a9852bedb8beaf6f629db1d99f1922d53255643676144ed160d5af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f626172746c6574742f67726170682d706c616e74756d6c2d67656e657261746f722f312e352e30)](https://www.php.net/supported-versions.php)[![Stable Version 1.5](https://camo.githubusercontent.com/58ba5db8bec67ebd5ce7819b99737f605395873e72c13480280e58144dcef8a2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d76312e352e302d626c7565)](https://packagist.org/packages/bartlett/graph-plantuml-generator)[![License 1.5](https://camo.githubusercontent.com/ae8ac88a63357e477717d54e9534fcc2a1a39b1a6c043d8631ec41227b811f75/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f626172746c6574742f67726170682d706c616e74756d6c2d67656e657261746f72)](https://github.com/llaville/graph-plantuml-generator/blob/1.5/LICENSE)[![Documentation 1.5](https://camo.githubusercontent.com/71d9dc71aef19f493cfff5def701ed05b67ee604f6e8cbf1d55c8a724b1055e0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63756d656e746174696f6e2d76312e352d677265656e)](https://github.com/llaville/graph-plantuml-generator/tree/1.5/docs)Stable v1.6.x[![Branch 1.6](https://camo.githubusercontent.com/50f7d3eb18d54fb3bb1558e637780af09f75a7ed470fc17fcd0907a69a0851d3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6272616e63682d312e362d6f72616e6765)](https://github.com/llaville/graph-plantuml-generator/tree/1.6)[![Minimum PHP Version)](https://camo.githubusercontent.com/ffee6e670841ab7a705f823f5ecf6cb9fefd5fde84a7438b705e170a678651e8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f626172746c6574742f67726170682d706c616e74756d6c2d67656e657261746f722f312e362e30)](https://www.php.net/supported-versions.php)[![Stable Version 1.6](https://camo.githubusercontent.com/9114c0b8a22737945cfcb6751d2bd49e96374c8addeebf11b24f313f7bc58432/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d76312e362e302d626c7565)](https://packagist.org/packages/bartlett/graph-plantuml-generator)[![License 1.6](https://camo.githubusercontent.com/ae8ac88a63357e477717d54e9534fcc2a1a39b1a6c043d8631ec41227b811f75/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f626172746c6574742f67726170682d706c616e74756d6c2d67656e657261746f72)](https://github.com/llaville/graph-plantuml-generator/blob/1.6/LICENSE)[![Documentation 1.6](https://camo.githubusercontent.com/dd2f481ee3be2f18e941f1a20ce870fb9a2f589397b81fe42438b01541869a9d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63756d656e746174696f6e2d76312e362d677265656e)](https://github.com/llaville/graph-plantuml-generator/tree/1.6/docs)Stable v1.7.x[![Branch 1.7](https://camo.githubusercontent.com/b78aafb7c9e8cda9bc8d444a276059f736c614659531f65c7dfbc55a8f96534d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6272616e63682d312e372d6f72616e6765)](https://github.com/llaville/graph-plantuml-generator/tree/1.7)[![Minimum PHP Version)](https://camo.githubusercontent.com/7e23fcdf6e9570202408d4a68a3284316f8d55fbc35f1eaf4b9e34c7dde8e279/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f626172746c6574742f67726170682d706c616e74756d6c2d67656e657261746f722f312e372e31)](https://www.php.net/supported-versions.php)[![Stable Version 1.7](https://camo.githubusercontent.com/dd0e32ac8d0a454b3b0b9d537e25b66fabce0975ccac6549cdd258ca943cc563/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d76312e372e312d626c7565)](https://packagist.org/packages/bartlett/graph-plantuml-generator)[![License 1.7](https://camo.githubusercontent.com/ae8ac88a63357e477717d54e9534fcc2a1a39b1a6c043d8631ec41227b811f75/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f626172746c6574742f67726170682d706c616e74756d6c2d67656e657261746f72)](https://github.com/llaville/graph-plantuml-generator/blob/1.7/LICENSE)[![Documentation 1.7](https://camo.githubusercontent.com/befcfd9bb3123054d5780729458dcf9d48d99891de21108eb5f75bf00da52e06/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63756d656e746174696f6e2d76312e372d677265656e)](https://github.com/llaville/graph-plantuml-generator/tree/1.7/docs)[![GitHub Discussions](https://camo.githubusercontent.com/02d57fb721e403b8924be64aa693fc662f2d656abb4518c313f1b15b4cd098e2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f64697363757373696f6e732f6c6c6176696c6c652f67726170682d706c616e74756d6c2d67656e657261746f72)](https://github.com/llaville/graph-plantuml-generator/discussions)[![Unit Tests](https://github.com/llaville/graph-plantuml-generator/actions/workflows/unit-tests.yaml/badge.svg)](https://github.com/llaville/graph-plantuml-generator/actions/workflows/unit-tests.yaml)[![GitHub-Pages](https://github.com/llaville/graph-plantuml-generator/actions/workflows/gh-pages.yml/badge.svg)](https://github.com/llaville/graph-plantuml-generator/actions/workflows/gh-pages.yml)

Generate UML diagrams in [PlantUML](https://plantuml.com/) format.

Documentation
-------------

[](#documentation)

All the documentation is available on [website](https://llaville.github.io/graph-plantuml-generator/1.7), generated from the [docs](https://github.com/llaville/graph-plantuml-generator/tree/1.7/docs) folder.

- [Getting Started](docs/getting-started.md).

Resources
---------

[](#resources)

- Demo online [PlantUML Server](http://www.plantuml.com/plantuml/uml/).
- Official docker image of [PlantUML Server](https://hub.docker.com/r/plantuml/plantuml-server/) over Jetty or Tomcat.
- [PlantUML Server](https://github.com/plantuml/plantuml-server) is a web application to generate UML diagrams on-the-fly.
- [PlantText](https://www.planttext.com/) is UML online editor.
- [Kroki](https://github.com/yuzutech/kroki) creates diagrams from textual descriptions.
- [Real World PlantUML](https://real-world-plantuml.com/) examples.
- Composer package to provide [PlantUML executable](https://github.com/Jawira/plantuml) and jar.
- [PlantUML Language Reference Guide (pdf)](http://plantuml.com/PlantUML_Language_Reference_Guide.pdf).
- [PlantUML encoding functions for PHP](https://github.com/jawira/plantuml-encoding).
- [Markdown native diagrams with PlantUML](https://blog.anoff.io/2018-07-31-diagrams-with-plantuml/) in GitLab or GitHub.

Contributors
------------

[](#contributors)

- Laurent Laville (Lead Developer)

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance58

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity79

Established project with proven stability

 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

Every ~77 days

Recently: every ~69 days

Total

26

Last Release

272d ago

Major Versions

0.4.0 → 1.0.0-beta.12020-05-26

PHP version history (7 changes)0.1.0PHP ^7.1.3

1.0.0-rc.3PHP ^7.1.3||^8.0

1.0.0PHP ^7.1.3|^8.0

1.3.0PHP ^7.4 || ^8.0

1.4.0PHP ^8.0

1.5.0PHP ^8.1

1.7.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/555d494363fdc69e712d56b46d3b9bf3fe221f2dae8a0cf3c732b0138d54f192?d=identicon)[llaville](/maintainers/llaville)

---

Top Contributors

[![llaville](https://avatars.githubusercontent.com/u/364342?v=4)](https://github.com/llaville "llaville (183 commits)")

---

Tags

graphplantumluml-class-diagramuml-diagrams

### Embed Badge

![Health badge](/badges/bartlett-graph-plantuml-generator/health.svg)

```
[![Health](https://phpackages.com/badges/bartlett-graph-plantuml-generator/health.svg)](https://phpackages.com/packages/bartlett-graph-plantuml-generator)
```

###  Alternatives

[bartlett/umlwriter

Create UML class diagrams from your PHP source.

6313.0k1](/packages/bartlett-umlwriter)[krifollk/module-code-generator

Code generator for magento 2

256.4k](/packages/krifollk-module-code-generator)

PHPackages © 2026

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