PHP code example of raoul2000 / yii2-workflow-view
1. Go to this page and download the library: Download raoul2000/yii2-workflow-view 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/ */
raoul2000 / yii2-workflow-view example snippets
$post = new app\models\Post();
raoul2000\workflow\view\WorkflowViewWidget::widget([
'workflow' => $post,
'containerId' => 'myWorkflowView'
]);