datto/php-parser
最新稳定版本:3.1.0
Composer 安装命令:
composer require datto/php-parser
包简介
Define and parse a context-free grammar
README 文档
README
Specifies the rules that define your context-free grammar, and then gain the ability to parse any text source. The output is an abstract syntax tree ready for semantic analysis.
Features
- Powerful recursive-descent parser
- 100% unit-test coverage
- Ultra-lightweight (just one small file)
Requirements
- PHP >= 5.3
License
This package is released under an open-source license: LGPL-3.0
Installation
If you're using Composer, you can use this package (datto/php-parser) by inserting a line into the "require" section of your "composer.json" file:
"datto/php-parser": "~3.0"
Unit tests
You can run the suite of unit tests from the project directory like this:
./vendor/bin/phpunit
Author
统计信息
- 总下载量: 118
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2015-04-13