PHP Classes

File: docs/

Recommend this page to a friend!
  Classes of jawira   PlantUML client   docs/   Download  
File: docs/
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PlantUML client
Convert a UML diagram to an image using PlantUML
Author: By
Last change:
Date: 6 months ago
Size: 840 bytes


Class file image Download

Incomplete diagrams

Default PlantUml server (<>) cannot handle huge diagrams. If you have problems it is suggested to use your own PlantUml server (<>).

Additionally, you have to set PLANTUML_LIMIT_SIZE environment variable in your server, otherwise your diagram will be cropped.

$ docker run -d -p 8080:8080 -e PLANTUML_LIMIT_SIZE=10000 plantuml/plantuml-server

Your PlantUml server is listening at <http://localhost:8080>.

For example: <http://localhost:8080/uml/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000>

use Jawira\PlantUmlClient\Client;
$client = new Client('http://localhost:8080'); 

Or using appropriate setter:

use Jawira\PlantUmlClient\Client;
$client = new Client();