Releases
v3 deprecated
v4
Features
PHP_Reflect is a PHP Library that adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces and more.
Why PHP_Reflect is different to standard PHP5 Reflection API ?
With PHP5 Reflection API the code to analyze needs to be loaded and interpreted by the php interpreter, and in certain cases, this triggers fatal errors.
With PHP Reflect you don’t have to trust in source code, because it will be parsed with tokenizer extension.
Modern
Reflect takes advantage of new features in PHP 5.4.0 or greater.
Robust
Reflect is strictly tested. Checks code coverage and see by yourself.
Reflection API
Reflect comes with a complete reflection API almost equivalent to PHP5 reflection.
Solid Foundation
Whenever possible wheel reinvention was avoided. Reflect uses code from well-known projects including Symfony Finder, and EventDispatcher.
Extensible
You don’t find the feature you’re searching for. Reflect may be extended easily, without having to hack the code.
Open Source
PHP Reflect is open source. It’s hosted, developed, and maintained on GitHub.
License
Documentation
All documentation provided in docs
folder are
in AsciiDoc format (files with extension .asciidoc
).
They are built with a Python AsciiDoc backend that convert output to an html Bootstrap renders.
AsciiDoc-Bootstrap
is released under the Apache 2 license.
Code
All source code is licensed under BSD 3-Clause.