Getting started
Requirements
- PHP 8.1 or greater
- bartlett/graph-uml
- jawira/plantuml-encoding
Installation
With Composer
The recommended way to install this library is through composer. If you don't know yet what is composer, have a look on introduction.
composer require bartlett/graph-plantuml-generator ^1.5
With Git
The GraPHP-PlantUML can be directly used from GitHub by cloning the repository into a directory of your choice.
git clone -b 1.5 https://github.com/llaville/graph-plantuml-generator.git
Additionally, you'll have to install PlantUML jar and Java Runtime (java executable). Users of Debian/Ubuntu-based distributions may simply invoke:
sudo apt update
sudo apt-get install openjdk-17-jre-headless
while remaining users should install from PlantUML Download page.
You can also use the PlantUML demo server at http://www.plantuml.com/plantuml/uml/