PHPackages                             bartlett/graph-uml - 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-uml

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

bartlett/graph-uml
==================

PHP library which helps you build UML diagrams.

1.7.1(9mo ago)06.7k12MITPHPPHP ^8.2CI passing

Since Apr 15Pushed 9mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (5)Versions (35)Used By (2)

bartlett/graph-uml
==================

[](#bartlettgraph-uml)

ReleasesBranchPHPPackagistLicenseDocumentationStable v1.4.x[![Branch 1.4](https://camo.githubusercontent.com/c5b75597fc5c0f031a5a77812dd2476935b094ddd26770bf3daa1ea0293e4788/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6272616e63682d312e342d6f72616e6765)](https://github.com/llaville/graph-uml/tree/1.4)[![Minimum PHP Version)](https://camo.githubusercontent.com/b09e757d0361b2149996068f0f248b02b94d8424cd4a6c38291956da3fa6c6b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f626172746c6574742f67726170682d756d6c2f312e342e30)](https://www.php.net/supported-versions.php)[![Stable Version 1.4](https://camo.githubusercontent.com/104a836519bdec50c4269190d18053694597392d9bc2c717f9708e447745ba8f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d76312e342e302d626c7565)](https://packagist.org/packages/bartlett/graph-uml)[![License 1.4](https://camo.githubusercontent.com/ceb59e77067cfa85884c8838cdf7ed410c6895f04ef3256b1e4a123da9ade194/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f626172746c6574742f67726170682d756d6c)](https://github.com/llaville/graph-uml/blob/1.4/LICENSE)[![Documentation 1.4](https://camo.githubusercontent.com/7c5a766c1117a2112b190d8f18983b5cfc0cd587c510f7df6a255d7b4d326743/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63756d656e746174696f6e2d76312e342d677265656e)](https://github.com/llaville/graph-uml/tree/1.4/docs)Stable v1.5.x[![Branch 1.5](https://camo.githubusercontent.com/259e332182673602549e3f9bdd40afd0bc3f5218758b511bbae5cd4d0b464994/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6272616e63682d312e352d6f72616e6765)](https://github.com/llaville/graph-uml/tree/1.5)[![Minimum PHP Version)](https://camo.githubusercontent.com/f3d2b9549699cdffc437380dc39fbf6173dccea16ad03b9efbc25ca3f72325b6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f626172746c6574742f67726170682d756d6c2f312e352e30)](https://www.php.net/supported-versions.php)[![Stable Version 1.5](https://camo.githubusercontent.com/58ba5db8bec67ebd5ce7819b99737f605395873e72c13480280e58144dcef8a2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d76312e352e302d626c7565)](https://packagist.org/packages/bartlett/graph-uml)[![License 1.5](https://camo.githubusercontent.com/ceb59e77067cfa85884c8838cdf7ed410c6895f04ef3256b1e4a123da9ade194/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f626172746c6574742f67726170682d756d6c)](https://github.com/llaville/graph-uml/blob/1.5/LICENSE)[![Documentation 1.5](https://camo.githubusercontent.com/71d9dc71aef19f493cfff5def701ed05b67ee604f6e8cbf1d55c8a724b1055e0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63756d656e746174696f6e2d76312e352d677265656e)](https://github.com/llaville/graph-uml/tree/1.5/docs)Stable v1.6.x[![Branch 1.6](https://camo.githubusercontent.com/50f7d3eb18d54fb3bb1558e637780af09f75a7ed470fc17fcd0907a69a0851d3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6272616e63682d312e362d6f72616e6765)](https://github.com/llaville/graph-uml/tree/1.6)[![Minimum PHP Version)](https://camo.githubusercontent.com/b0187f3903de95aaa45d6ab45b83a31d3798a3e2ce2755e8d0048ccc0bb82bed/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f626172746c6574742f67726170682d756d6c2f312e362e30)](https://www.php.net/supported-versions.php)[![Stable Version 1.6](https://camo.githubusercontent.com/9114c0b8a22737945cfcb6751d2bd49e96374c8addeebf11b24f313f7bc58432/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d76312e362e302d626c7565)](https://packagist.org/packages/bartlett/graph-uml)[![License 1.6](https://camo.githubusercontent.com/ceb59e77067cfa85884c8838cdf7ed410c6895f04ef3256b1e4a123da9ade194/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f626172746c6574742f67726170682d756d6c)](https://github.com/llaville/graph-uml/blob/1.6/LICENSE)[![Documentation 1.6](https://camo.githubusercontent.com/dd2f481ee3be2f18e941f1a20ce870fb9a2f589397b81fe42438b01541869a9d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63756d656e746174696f6e2d76312e362d677265656e)](https://github.com/llaville/graph-uml/tree/1.6/docs)Stable v1.7.x[![Branch 1.7](https://camo.githubusercontent.com/b78aafb7c9e8cda9bc8d444a276059f736c614659531f65c7dfbc55a8f96534d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6272616e63682d312e372d6f72616e6765)](https://github.com/llaville/graph-uml/tree/1.7)[![Minimum PHP Version)](https://camo.githubusercontent.com/9facf87f58a82b21fb5e79ac94fcca95cbab06c26685283cc872e677db39179e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f626172746c6574742f67726170682d756d6c2f312e372e31)](https://www.php.net/supported-versions.php)[![Stable Version 1.7](https://camo.githubusercontent.com/dd0e32ac8d0a454b3b0b9d537e25b66fabce0975ccac6549cdd258ca943cc563/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d76312e372e312d626c7565)](https://packagist.org/packages/bartlett/graph-uml)[![License 1.7](https://camo.githubusercontent.com/ceb59e77067cfa85884c8838cdf7ed410c6895f04ef3256b1e4a123da9ade194/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f626172746c6574742f67726170682d756d6c)](https://github.com/llaville/graph-uml/blob/1.7/LICENSE)[![Documentation 1.7](https://camo.githubusercontent.com/befcfd9bb3123054d5780729458dcf9d48d99891de21108eb5f75bf00da52e06/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63756d656e746174696f6e2d76312e372d677265656e)](https://github.com/llaville/graph-uml/tree/1.7/docs)[![GitHub Discussions](https://camo.githubusercontent.com/5e831d15082271b09793742411e43b31f3f9f30bc4aa5742a8ea60040a2fe5b2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f64697363757373696f6e732f6c6c6176696c6c652f67726170682d756d6c)](https://github.com/llaville/graph-uml/discussions)[![Unit Tests](https://github.com/llaville/graph-uml/actions/workflows/unit-tests.yaml/badge.svg)](https://github.com/llaville/graph-uml/actions/workflows/unit-tests.yaml)[![GitHub-Pages](https://github.com/llaville/graph-uml/actions/workflows/gh-pages.yml/badge.svg)](https://github.com/llaville/graph-uml/actions/workflows/gh-pages.yml)

Generate UML diagrams by reflection for your PHP projects.

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

[](#documentation)

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

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

Resources
---------

[](#resources)

-  to draw UML diagrams in [PlantUML](https://plantuml.com/) format.
-
- Let's Graphviz it Online
- [The Top 55 Graphviz Open Source Projects](https://awesomeopensource.com/projects/graphviz)

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

[](#contributors)

- Laurent Laville (Lead Developer)

Credits
-------

[](#credits)

This code is a refactored version of [clue/graph-uml](https://github.com/clue/graph-uml) project, licensed under MIT.

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance58

Moderate activity, may be stable

Popularity23

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 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 ~59 days

Recently: every ~69 days

Total

34

Last Release

273d ago

Major Versions

0.8.0 → 1.0.0-beta.12020-05-18

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.0 || ^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 (254 commits)")

---

Tags

graphgraphvizuml-class-diagramuml-diagrams

### Embed Badge

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

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

###  Alternatives

[phpdocumentor/reflection-docblock

With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.

9.4k722.2M1.2k](/packages/phpdocumentor-reflection-docblock)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[sylius/promotion

Flexible promotion management for PHP applications.

28477.8k9](/packages/sylius-promotion)[sylius/taxonomy

Taxonomies - categorization of domain models in PHP projects.

14435.6k10](/packages/sylius-taxonomy)[wwwision/dcb-eventstore

Implementation of the Dynamic Consistency Boundary pattern described by Sara Pellegrini

2131.5k10](/packages/wwwision-dcb-eventstore)

PHPackages © 2026

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