Download the PHP package pjkersten/plantuml-extension without Composer

On this page you can find all versions of the php package pjkersten/plantuml-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package plantuml-extension

Sunset

As of 2025-01 i have closed all issues. Personally i will not put any further effort into this. Wolfgang

Hi, welcome to the PlantUML plugin for Mediawiki IconMediaWiki. The full project page for this plugin can be found on

http://www.mediawiki.org/wiki/Extension:PlantUML

Prerequisites

  1. A Java Icon Java installation. Can also be OpenJDK

  2. GraphViz extension

  3. Prerequistes of GraphViz. Basically if you get the GraphViz extension running you should also be able to get PlantUML to run.

Installation

With Composer

[Composer support is in preparation] (https://www.mediawiki.org/wiki/User_talk:Legoktm#Adding_Extension_PlantUML_to_packagist)

Without Composer

  1. Go to the extensions folder of your MediaWiki installation. On RedHat and derivates this will be /usr/share/mediawiki/extensions. cd /usr/share/mediawiki/extensions

  2. Create a new subdirectory PlantUML in this folder and move to this directory. mkdir PlantUML && cd PlantUML

  3. Move the all downloaded file (PlantUML.php, PlantUML.body.php, extension.json, i18n, ...) into the PlantUML directory. mv <downloaddir>/{PlantUML.php,PlantUML.body.php,extension.json,i18n}.

  4. Choose your usage style. You can either process images locally (on the server where MediaWiki was installed) or in the cloud. The local version supports SVG-images and embedded urls, at the cost of local processing. The cloud version is lightweight for your server. Default local processing is expected. If you want to use the cloud, please set to LocalSettings.php $wgPlantUmlUseCloude to true.

  5. When using local processing: get the plantuml.jar from SourceForge

    wget https://downloads.sourceforge.net/project/plantuml/plantuml.jar

  6. (Optional) Set to LocalSettings.php the variable $wgPlantUmlFormat to your preference. Mind that SVG produces the superior graphics, but that only PNG-images and image maps are "rock solid". (defaults: svg)

  7. (Optional) Adapt the getUploadPath and getUploadDirectory to your preference if you want these different from MediaWiki's standard settings. Mind that these directories must be writeable by the system user who runs MediaWiki.

  8. Put the following line to your LocalSettings.php in MediaWiki's root folder to include the extension:

    wfLoadExtension( 'PlantUML' );

  9. When using the cloud, make sure that httpd can submit HTTP-requests. (Optional) Adapt $wgPlantUmlCloudURI to use your private PlantUml server

  10. Reload http `service httpd graceful

  11. Enjoy!

Issues

If you have suggestions or remarks, please file an issue!


All versions of plantuml-extension with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
mediawiki/graph-viz Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pjkersten/plantuml-extension contains the following files

Loading the files please wait ...