pjkersten/plantuml-extension
Composer 安装命令:
composer require pjkersten/plantuml-extension
包简介
MediaWiki extension which renders plantuml markup as UML diagramm graphics
关键字:
README 文档
README
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.
The full project page for this plugin can be found on
http://www.mediawiki.org/wiki/Extension:PlantUML
Prerequisites
-
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
-
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 -
Create a new subdirectory PlantUML in this folder and move to this directory.
mkdir PlantUML && cd PlantUML -
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}. -
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.
-
When using local processing: get the plantuml.jar from SourceForge
wget https://downloads.sourceforge.net/project/plantuml/plantuml.jar -
(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)
-
(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.
-
Put the following line to your LocalSettings.php in MediaWiki's root folder to include the extension:
wfLoadExtension( 'PlantUML' ); -
When using the cloud, make sure that httpd can submit HTTP-requests. (Optional) Adapt $wgPlantUmlCloudURI to use your private PlantUml server
-
Reload http `service httpd graceful
-
Enjoy!
Issues
If you have suggestions or remarks, please file an issue!
pjkersten/plantuml-extension 适用场景与选型建议
pjkersten/plantuml-extension 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 34 次下载、GitHub Stars 达 35, 最近一次更新时间为 2016 年 01 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「uml」 「mediawiki」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 pjkersten/plantuml-extension 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 pjkersten/plantuml-extension 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 pjkersten/plantuml-extension 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Automatically logs-in users if they are already authenticated by a remote source. (e.g. environment variable REMOTE_USER)
An extension to Semantic MediaWiki allowing to build breadcrumb links from an attributive property filter
Helper functions for the MediaWiki ExtensionRegistry
Adds the EDTF data type to Wikibase
Create UML class diagrams from your PHP source.
MediaWiki extension that allows embedding external content, specified by URL, into your wiki pages
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 35
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2016-01-13