PHP code example of yiche / workflow
1. Go to this page and download the library: Download yiche/workflow 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/ */
yiche / workflow example snippets
$res = $workflow->create();
//return:
/***
{
process_id: 1, // 业务流程id
process_instance_id: 22, // 任务流程id
title: "林润审批" // 业务名
}
**/