PHP code example of scheibling / itop-bpmnviewer

1. Go to this page and download the library: Download scheibling/itop-bpmnviewer library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

scheibling / itop-bpmnviewer example snippets


// Whether to enable the viewer
'enabled' => true,

// Key => Value list with ModelName (Name of the model where the viewer should be displayed) => bpmn_field (name of the field in the model containing the BPMN schema)
'enabled_for' => [
    'ModelName' => 'model_bpmn_field'
],

// Whether to enable the onclick-properties panel for the nodes
// currently only works with ZeebeProperties
'properties_panel_enabled' => false