Visual PHP Reflector

    image
    I present to the public a visual PHP reflector.

    The script indexes all .php files in the specified directory, caches information about the classes found. Parsing .php files is done using Tokenizer. The names of the classes found are cached, the file name mapping is cached - a class for later use in the autoload.

    The list of classes is presented in the form of a tree. A list of methods and properties is available for each class. Available to view the base class and implemented interfaces. Data on the "composition" of classes is obtained on the go through the PHP reflection API. Data is loaded via AJAX.

    The interface is implemented on ExtJS. This is due to browser support - it works in IE6 +, FF1.5 +, Safari 3+, Opera 9+ (PC, Mac).


    See PHPReflector in action.
    UPD:Sources

    In the sources there is no Ext
    Now Ext with a minimal set of components is loaded from external sources via CDN (CacheFly)

    Plans for the future:
    • Comb the source;
    • Make a search;
    • To display not only base classes, but also classes inherited from this one;
    • Display DocBlocks for classes, methods, properties
    • UPD: Add a mapping of native PHP classes

    Also popular now: