matthiasnoback/php-ast-inspector
最新稳定版本:v0.4.0
Composer 安装命令:
composer require matthiasnoback/php-ast-inspector
包简介
README 文档
README
This package offers a command-line utility for parsing a PHP script and navigating the resulting Abstract Syntax Tree (AST), showing information about the nodes and highlighting the corresponding part of the original script.
Installation
composer require --dev matthiasnoback/php-ast-inspector
Usage
Run ast-inspect by pointing it at a script that you want to inspect, e.g. if your script is called file.php:
vendor/bin/ast-inspect inspect file.php
Now use the keys (a, s, d, w) to navigate the node tree. Quit using Ctrl + C.
统计信息
- 总下载量: 153.69k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 71
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2022-09-02
