Download the PHP package jawira/plantuml-to-image without Composer
On this page you can find all versions of the php package jawira/plantuml-to-image. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jawira/plantuml-to-image
More information about jawira/plantuml-to-image
Files in jawira/plantuml-to-image
Package plantuml-to-image
Short Description PlantUml wrapper to convert puml diagrams to images.
License MIT
Informations about the package plantuml-to-image
PlantUml to image
PlantUml wrapper to convert .puml
diagrams into images.
Usage
This package provides three methods:
\Jawira\PlantUmlToImage\PlantUml::convertTo
\Jawira\PlantUmlToImage\PlantUml::setJar
\Jawira\PlantUmlToImage\PlantUml::isPlantUmlAvailable
Convert .puml diagram to image
It's up to you to load your diagram from disk, then
use \Jawira\PlantUmlToImage\PlantUml
to convert the diagram to another format,
after conversion, it's up to you to save new image to disk:
Set Jar location
Specify the location of plantuml.jar
:
You don't need to set Jar location in the following cases:
- You have downloaded PlantUML
with jawira/plantuml
, (location
vendor/jawira/plantuml/bin/plantuml.jar
). - If you have installed PlantUML with apt-get
(location
/usr/share/plantuml/plantuml.jar
). - Or if you have
plantuml
command installed.
Check PlantUml availability
An exception is thrown when jar can't be found, use this method to avoid the exception.
How to install
Requirements
This package needs PlantUml (https://plantuml.com/en/download) as an executable or as a Jar file, note that PlantUml has its own requirements (https://plantuml.com/en/starting).
As an alternative, you can install PlantUml with Composer:
Contributing
If you liked this project, ⭐ star it on GitHub.
License
This library is licensed under the MIT license.
Packages from jawira
- jawira/doctrine-diagram-bundle
- Symfony Bundle to generate database diagrams.
- jawira/case-converter
- Convert strings between 13 naming conventions: Snake case, Camel case, Pascal case, Kebab case, Ada case, Train case, Cobol case, Macro case, Upper case, Lower case, Sentence case, Title case and Dot notation.
- more...