thomasmeschke/call-sequencer
Composer 安装命令:
composer create-project thomasmeschke/call-sequencer
包简介
A simple tool that allows to convert xdebug trace files into plantUML sequence diagrams
README 文档
README
Call-Sequencer
Simple tool that allows to convert xdebug trace files into plantUML sequence diagrams.
Installation
You can include this tool into your project using composer:
composer require --dev thomasmeschke/call-sequencer
Usage:
php cseq.php -i<inputfile> -o<outputfile> [-c<optionsfile>]
The options are as follows:
-i<inputfile> required The xdebug trace file to process
-o<outputfile> required The plantUML output file to generate
-c<optionsfile> optional A JSON file containing the compiler options
Inputfiles
The tool takes xdebug trace files (*.xt) with the trace-format configured to "3".
Outputfiles
The tool prints files in the PlantUML format. The content can be pasted into the online PlantUML Editor or can be viewed and exportet with tools like the VSCode PlantUML Extension.
Compiler option files
The compiler options JSON file is structured as follows:
{
"basePath": "",
"cutOffNamespaces": [],
"replaceOptions": {
}
}
basePath(string): Path segment to be removed from absolute paths, e.g. the projects root path. This gets removed from all absolute paths, like include paths.
cutOffNamespace(array): List of namespaces that the diagram will not follow into, e.g. the used frameworks base namespace. Only the first stackframe inside these namespaces will be included in every callstack.
replaceOptions(object): A collection of keys and string values, specifying which string is to be replace with which. Can be used to redact sensitive information like company names from the resulting diagram.
Planned features
The future might bring additional features like the possibility to choose the input trace file format via CLI parameter, as well as other output formats like flame charts.
thomasmeschke/call-sequencer 适用场景与选型建议
thomasmeschke/call-sequencer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 11 次下载、GitHub Stars 达 3, 最近一次更新时间为 2025 年 07 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 thomasmeschke/call-sequencer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 thomasmeschke/call-sequencer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 27
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-07-28