ircmaxell/php-c-parser
Parse C source files into an AST in PHP (PHP 8.4+), including preprocessing resolution. Use a Context to set #define values (ints, strings, identifiers) before parsing. Great for analysis tools, code inspection, and experimentation.
Require PHP 8.4 and test a bunch more
Full Changelog: https://github.com/ircmaxell/php-c-parser/compare/v0.1.0...v0.2.0
How can I help you explore Laravel packages today?