| Recommend this page to a friend! | 
| Classes of Adeleye Ayodeji | Nolimitbuzz WP Theme | vendor/mck89/peast/README.md | Download | 
  | 
|||||||||||||||||||||
PeastPeast _(PHP ECMAScript Abstract Syntax Tree)_ is a PHP 5.4+ library that parses JavaScript code, according to ECMAScript specification, and generates an abstract syntax tree following the ESTree standard. InstallationInclude the following requirement to your composer.json: 
Run  Then in your script include the autoloader and you can start using Peast: 
Known issuesWhen Xdebug is enabled and Peast is used to scan code that contains deeply nested functions, this fatal error can appear: or To prevent this you can set  DocumentationRead the documentation for more examples and explanations: 1. AST generation and tokenization 2. Tree Traversing 3. Querying By Selector 4. Rendering  |