Skip to content

alexander-schranz/awesome-php-ast

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 

Repository files navigation

Awesome PHP AST Awesome

A curated list of amazingly awesome tools, articles and books about abstract syntax tree in PHP world. From parsing PHP, through traversing templates and configs through automated upgrades.


Note: this repository should not be list of tools that run on nikic/php-parser, but rather tools that main feature developer actually works with is abstract syntax tree.

  • Good example - PHPStan, because you work with PHP nodes in every single rule.
  • Bad example - Twig, it has structure in AST and has node visitors, but marginal number of developers use it. It's main feature is template compilation, filters and functions.

Do you miss a project, tool or article, that you consider useful to the broader AST PHP community? Send a pull-request, so we can check it.


Native PHP

Parsing

Analyzing

Modifying


Templates

TWIG

Latte

Blade

HTML


Databases


License

CC0

To the extent possible under law, Tomas Votruba has waived all copyright and related or neighboring rights to this work.

About

Awesome sources for amazing AST topic in world PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published