Libraries tagged by syntax-tree
ajthinking/archetype
4881200 Downloads
Programmatically edit PHP and Laravel files.
nikic/php-ast
18511 Downloads
Extension exposing PHP 7 abstract syntax tree
phpsyntax/phpsyntax
4247 Downloads
🌳 PhpSyntax: a lossless concrete syntax tree (CST) for PHP. Every token, space and comment is kept, so the tree prints back byte for byte and a tool changes only what it touches. Comes with a mutation API for refactoring tools and formatters.
pimcore/search-query-parser
602644 Downloads
Parses a simplified SQL-like query string into a syntax tree which can be used to build search queries
dresscode/dresscode
2985 Downloads
👔 DressCode: checks and fixes PHP coding style, and upgrades code to newer PHP and to new versions of libraries. Built on a lossless syntax tree, so it changes only what it touches. PER Coding Style, PSR-12, Nette, Symfony and Laravel.
mougrim/yaml-cst
7615 Downloads
PHP library for parsing and manipulating YAML documents while preserving format using Tree-sitter via FFI (Concrete Syntax Tree)
ajthinking/php-file-manipulator
132 Downloads
Programmatically edit PHP and Laravel files.
sobolevwladimir/vexcel
9852 Downloads
Parse excel formula to syntax tree
jcnventura/pharborist
124839 Downloads
Pharborist builds a syntax tree for PHP that can be traversed and manipulated.
tpunt/php-ast-reverter
86 Downloads
Reverts an AST back into (somewhat) PSR-compliant code
oxygensuite/php-ast
140 Downloads
A lightweight Abstract Syntax Tree (AST) implementation for PHP, enabling structured parsing, analysis, and transformation of PHP code.
vojtech-dobes/php-grammar-processing
1286 Downloads
Library for tokenization, abstract syntax tree parsing & interpretation
vanderlee/comprehend
47 Downloads
PHP parser combinators with ABNF authoring, immutable syntax trees and explicit effects
pharborist/pharborist
268 Downloads
Pharborist builds a syntax tree for PHP that can be traversed and manipulated.
chh/sirel
68 Downloads
Flexible SQL builder which builds an Abstract Syntax Tree of SQL and dumps it.