Libraries and building blocks

php-ast

Native PHP extension that exposes the abstract syntax tree generated by the PHP engine.

Installation and compatibility

Type
Library
PHP
>= 7.2.0
License
BSD-3-Clause
Pricing
Free and open source
Install
pecl install ast

Check the project documentation for configuration and version-specific requirements.

Strengths and limitations

ProExposes the PHP engine's native AST with low parsing overhead.

ConIt is a native extension and consumers must build the actual analysis.

Editorially reviewed

Repository activity

Activity: Active. Repository activity is a separate signal from suitability for your application.

Latest release
v1.1.4
Last commit
Last release

Metadata checked: .

Explore related tools

Browse all libraries and building blocks. Tools in the same category can serve different workflows; compare their requirements and limitations.