ceus-media / php-parser
PHP parser written in PHP
Installs: 490
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/ceus-media/php-parser
Requires
- php: ^8.3
- ext-zlib: *
- ceus-media/common: ^1.1 | 1.1.x-dev
Requires (Dev)
- ceus-media/doc-creator: ^1.1 | 1.1.x-dev
- php-parallel-lint/php-parallel-lint: ^1.3 | dev-master
- phpstan/phpstan: ^1
- phpstan/phpstan-strict-rules: ^1
- phpunit/phpunit: ^10
README
PHP parser (and renderer) written in PHP
- collection of Classes for PHP language concepts, like:
- variables and class members
- functions and class methods
- parameters of functions and methods
- return types of functions and methods
- accessibility of variables, members and methods
- abstraction of classes and methods
- class attributes like final, extends, implements
- plus a file which holds variables, functions and classes
- a parser to read PHP
- as string or file into a tree structure
- a renderer to build PHP
- from a defined or parsed tree structure