PHP Classes

How to Implement PHP UML Diagram Image Generator using PlantUML client: Convert a UML diagram to an image using PlantUML

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 37 All time: 10,955 This week: 524Up
Version License PHP version Categories
plantuml-client 1.0.0Custom (specified...5PHP 5, Graphics, Web services
Description 

Author

This package can convert a UML diagram to an image using a PlantUML server.

It provides a PlantUML client class that can take UML diagram definitions in PlantUML format and sends an HTTP request to a PlantUML server to perform a conversion to an image.

The client class returns a string with the data of the UML diagram image or other format supported by the PlantUML server.

It supports converting the diagram to formats like PostScript, PNG, SVG, text, and Latex.

Innovation Award
PHP Programming Innovation award nominee
November 2022
Number 6
UML is a language that many developers use to represent the relations between entities of a software program.

Developers can generate diagrams from project entities defined using UML to see better the project data structures and other aspects of the project's architecture.

PlantUML is a tool that can render UML diagrams as images that developers can use to visualize their project diagrams.

This package can call a PlantUML Web services server to render UML diagrams without installing PlantUML in the developer machine.

Manuel Lemos
Picture of jawira
  Performance   Level  
Name: jawira <contact>
Classes: 11 packages by
Country: Belgium Belgium
Age: ???
All time rank: 302216 in Belgium Belgium
Week rank: 43 Up1 in Belgium Belgium Up
Innovation award
Innovation award
Nominee: 9x

Winner: 2x

Documentation

PlantUML client

PlantUML client

_PlantUML client_ uses a remote server to convert PlantUML diagrams into images. Now you don't need to install PlantUML locally!

*

Packagist Version Packagist PHP Version Packagist Downloads Packagist License

Documentation

<https://jawira.github.io/plantuml-client/>

How to install

composer require jawira/plantuml-client

Contributing

If you liked this project, ? star it on GitHub.

*

Packages from jawira

<dl> <dt> <a href="https://packagist.org/packages/jawira/plantuml">jawira/plantuml <img alt="GitHub stars" src="https://badgen.net/github/stars/jawira/plantuml?icon=github"/></a> </dt> <dd>Provides PlantUML executable and plantuml.jar</dd> <dt> <a href="https://github.com/jawira/plantuml-to-image">jawira/plantuml-to-image <img alt="GitHub stars" src="https://badgen.net/github/stars/jawira/plantuml-to-image?icon=github"/></a></dt> <dd>PlantUml wrapper to convert puml diagrams to images.</dd> <dt> <a href="https://packagist.org/packages/jawira/plantuml-encoding"> jawira/plantuml-encoding <img alt="GitHub stars" src="https://badgen.net/github/stars/jawira/plantuml-encoding?icon=github"/></a> </dt> <dd>PlantUML encoding functions.</dd> <dt><a href="https://packagist.org/packages/jawira/">more...</a></dt> </dl>


  Files folder image Files (31)  
File Role Description
Files folder image.github (1 directory)
Files folder imagedocs (3 files, 1 directory)
Files folder imageresources (1 directory)
Files folder imagesrc (3 files)
Files folder imagetests (1 file)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file build.xml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE.md Lic. License text
Accessible without login Plain text file mkdocs.yml Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file psalm.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (31)  /  .github  
File Role Description
Files folder imageworkflows (2 files)

  Files folder image Files (31)  /  .github  /  workflows  
File Role Description
  Accessible without login Plain text file mkdocs.yaml Data Auxiliary data
  Accessible without login Plain text file qa.yaml Data Auxiliary data

  Files folder image Files (31)  /  docs  
File Role Description
Files folder imageimages (10 files)
  Accessible without login Plain text file advanced-usage.md Data Auxiliary data
  Accessible without login Plain text file index.md Data Auxiliary data
  Accessible without login Plain text file well-known-issues.md Data Auxiliary data

  Files folder image Files (31)  /  docs  /  images  
File Role Description
  Accessible without login Plain text file common.puml Data Auxiliary data
  Accessible without login Image file php.png Icon Icon image
  Accessible without login Plain text file php.puml Data Auxiliary data
  Accessible without login Plain text file php.svg Data Auxiliary data
  Accessible without login Image file plantuml-client.png Icon Icon image
  Accessible without login Plain text file plantuml-client.puml Data Auxiliary data
  Accessible without login Plain text file plantuml-client.svg Data Auxiliary data
  Accessible without login Image file server.png Icon Icon image
  Accessible without login Plain text file server.puml Data Auxiliary data
  Accessible without login Plain text file server.svg Data Auxiliary data

  Files folder image Files (31)  /  resources  
File Role Description
Files folder imagediagrams (4 files)

  Files folder image Files (31)  /  resources  /  diagrams  
File Role Description
  Accessible without login Plain text file chocolate.puml Data Auxiliary data
  Accessible without login Plain text file colors.puml Data Auxiliary data
  Accessible without login Plain text file simple.puml Data Auxiliary data
  Accessible without login Plain text file version.puml Data Auxiliary data

  Files folder image Files (31)  /  src  
File Role Description
  Plain text file Client.php Class Class source
  Plain text file ClientException.php Class Class source
  Plain text file Format.php Class Class source

  Files folder image Files (31)  /  tests  
File Role Description
  Plain text file ClientTest.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:37
This week:0
All time:10,955
This week:524Up