Name Date Size #Lines LOC

..--

.devcontainer/H16-Oct-2025-1816

.github/workflows/H16-Oct-2025-8667

.phpstan/H23-Apr-2026-221182

_test/H23-Apr-2026-581425

action/H23-Apr-2026-171134

build/H22-Apr-2026-240198

css/H23-Apr-2026-336292

data/H16-Oct-2025-385381

font/H22-Apr-2026-

images/H16-Oct-2025-1,5041,231

inc/H23-Apr-2026-171134

lang/H16-Oct-2025-4235

script/H23-Apr-2026-511416

syntax/H23-Apr-2026-211166

test/H19-Apr-2026-565509

vendor/H22-Apr-2026-8,7667,706

.editorconfigH A D16-Oct-2025147 108

.gitignoreH A D13-Apr-2026128 75

.stylelintrc.jsonH A D13-Apr-2026402 1514

LICENSEH A D16-Oct-20251.6 KiB3023

README.mdH A D23-Apr-20261.5 KiB7651

all.lessH A D22-Apr-2026732 1815

bpmnio.pngHD16-Oct-202513.5 KiB

composer.jsonH A D13-Apr-2026658 2423

deleted.filesH A D22-Apr-2026521 1615

eslint.config.jsH A D13-Apr-2026794 3129

package-lock.jsonH A D22-Apr-2026148.6 KiB3,7003,699

package.jsonH A D22-Apr-2026744 2524

phpcs.xmlH A D13-Apr-20261.4 KiB4030

phpstan.neonH A D23-Apr-2026151 98

plugin.info.txtH A D22-Apr-2026220 87

print.lessH A D16-Oct-202538 21

script.jsH A D13-Apr-2026417 90

update-vendor.shH A D22-Apr-2026365 168

README.md

1# dokuwiki-plugin-bpmnio
2
3Renders using the bpmn.io js libraries within dokuwiki:
4
5* BPMN v2.0 diagrams
6* DMN v1.3 decision requirement diagrams, decision tables and literal expressions
7
8Refer to this page for details: <https://www.dokuwiki.org/plugin:bpmnio>
9
10## Development
11
12### Prerequisites
13
14* PHP 8.1+
15* [Composer](https://getcomposer.org/)
16* Node.js 20+ and npm
17
18### Setup
19
20```bash
21# Install PHP dev dependencies (phpcs, phpstan)
22composer install
23
24# Install JS/CSS dev dependencies and vendor build packages
25npm install
26```
27
28### Linting
29
30```bash
31# PHP code style
32composer cs
33
34# PHP static analysis
35composer stan
36
37# JavaScript lint
38npm run lint:js
39
40# LESS/CSS lint
41npm run lint:css
42
43# All JS + CSS lints
44npm run lint
45```
46
47### Testing
48
49Tests run within the DokuWiki test framework. Clone the plugin into a DokuWiki
50installation's `lib/plugins/bpmnio/` directory, then run:
51
52```bash
53cd /path/to/dokuwiki
54php vendor/bin/phpunit --group plugin_bpmnio
55```
56
57### Updating vendor libraries
58
59The committed `vendor/` bundles are generated locally from the npm packages
60declared in [package.json](package.json). To update them:
61
62```bash
63# Change the pinned bpmn-js / dmn-js versions in package.json when needed
64npm install
65
66# Rebuild the committed vendor bundles and copied assets
67npm run build:vendor
68
69# Or use the compatibility wrapper
70./update-vendor.sh
71```
72
73The build step emits the production browser bundles into `vendor/`, copies the
74required LESS assets from `node_modules`, and refreshes the public `font/`
75directory used by DokuWiki.
76