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.5
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.5
File: bin/plantuml.jar
| Algorithm | Checksum |
|---|---|
| md5 | 67dfc92745f867198a0d53cab6ec666c |
| sha1 | fe07930b3dbdffeb496d71ed620c38979f05a761 |
How can I help you explore Laravel packages today?