jawira/plantuml
Generate UML diagrams with PlantUML from PHP and Laravel. jawira/plantuml wraps the PlantUML tool and server to render diagrams from text, making it easy to integrate UML generation into your app, CLI scripts, or build pipelines.
Provides PlantUML integration: plantuml executable and plantuml.jar.
PlantUML version 1.2026.2
Check that PlantUML is working correctly:
$ vendor/bin/plantuml -version
To generate a diagram:
$ vendor/bin/plantuml /path/to/file.puml
By default png image is created in same location as puml file.
You also get access to plantuml.jar:
$ java -jar ./vendor/jawira/plantuml/bin/plantuml.jar -version
Install using Composer:
$ composer require jawira/plantuml
PlantUML needs Java Runtime installed (see http://plantuml.com/starting).
On Ubuntu 18.04 you can run:
$ sudo apt-get install -y openjdk-11-jre
PlantUML version 1.2026.2
File: bin/plantuml.jar
| Algorithm | Checksum |
|---|---|
| md5 | 5065c684dd7130b57e17050ab18a58d8 |
| sha1 | 55884e11f3f1075d4778a9ebaa9244d530a74391 |
How can I help you explore Laravel packages today?