goaop/parser-reflection
AST-based Reflection API for PHP: introspect classes, methods, and properties directly from source code without autoloading or executing anything. Built on nikic/php-parser and compatible with native Reflection classes—ideal for static analyzers, code generators, and IDE tooling.
Full Changelog: https://github.com/goaop/parser-reflection/compare/3.0.1...3.1.0
This patch release fixes compatibility with PHP7.3 and PHP7.4 #103
Warning! Please, be aware that this repo is not maintained well and will be abandoned soon. Consider to upgrade your software to the Roave/BetterReflection library.
This minor release contains several fixes and improvements:
ReflectionClassConstant #93, #97 (by @MaximilianKresse)ReflectionMethod->getClosure($object = null) compatibility #88 (by @ddinchev)getNamespaceAliases() logic fix #96 (by @MaximilianKresse)Small patch release for #89
This release enables usage of token positions during analysis in Go! AOP framework, see #78. Also contains improvements by @loren-osborn in #76
Patch version with small fixes:
PHP version was also bumped to be >=5.6.0. Pay an attention if you use this library with outdated PHP versions.
This release contains a lot of fixes and improvements since 1.1.0:
This release also provides support for parsing PHP7.1 files. However, ReflectionClassConstant and constants with modifiers are not supported yet.
Minor release, that contains several features and important bug-fixes:
ReflectionClass::hasConstant methodPatch release for #8
Patch release for fixing #5
This is first working version of ParserReflection :registered: library with almost compatible Reflection API. Enjoy!
First working version of ReflectionEngine with full emulation of original Reflection classes.
How can I help you explore Laravel packages today?