PHP code example of singi2016cn / parse-xmind

1. Go to this page and download the library: Download singi2016cn/parse-xmind 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/ */

    

singi2016cn / parse-xmind example snippets


use Singi2016cn\ParseXmind\Wps\ProcessOnSchema;

$filePath = 'path_to_pos_file/xxx.pos';
$processOnSchema = new ProcessOnSchema($filePath);

// 使用$processOnSchema进行后续转换,$processOnSchema是树形对象结构