php-phpdocumentor-reflection1

Using this library it is possible to statically reflect one or more files and create an object graph representing your application's structure, including accompanying in-source documentation using DocBlocks.

The information that this library provides is similar to what the (built-in) Reflection extension of PHP provides; there are however several advantages to using this library:

  • Due to its Static nature it does not execute procedural code in your reflected files where Dynamic Reflection does.
  • Because the none of the code is interpreted by PHP (and executed) Static Reflection uses less memory.
  • Can reflect complete files
  • Can reflect a whole project by reflecting multiple files.
  • Reflects the contents of a DocBlock instead of just mentioning there is one.
  • Is capable of analyzing code written for any PHP version (starting at 5.2) up to and including your installed PHP version.

Features

  • [Creates an object graph] containing the structure of your application much like a site map shows the structure of a website.
  • Can read and interpret code of any PHP version starting with 5.2 up to and including your currently installed version of PHP.
  • Due it's clean interface it can be in any application without a complex setup.

php-phpdocumentor-reflection-docblock2

The ReflectionDocBlock component of phpDocumentor provides a DocBlock parser that is fully compatible with the PHPDoc standard.

With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.


php-phpdocumentor-reflection-common

Common reflection classes used by phpdocumentor to reflect the code structure.


php-phpdocumentor-type-resolver

The specification on types in DocBlocks (PSR-5) describes various keywords and special constructs but also how to statically resolve the partial name of a Class into a Fully Qualified Class Name (FQCN).

PSR-5 also introduces an additional way to describe deeper elements than Classes, Interfaces and Traits called the Fully Qualified Structural Element Name (FQSEN). Using this it is possible to refer to methods, properties and class constants but also functions and global constants.

This package provides two Resolvers that are capable of:

  1. Returning a series of Value Object for given expression while resolving any partial class names, and
  2. Returning an FQSEN object after resolving any partial Structural Element Names into Fully Qualified Structural Element names.

How to install

sudo dnf install --advisory=FEDORA-2017-14cb178d90 \*

This update has been submitted for testing by siwinski.

4 years ago

This update has been pushed to testing.

4 years ago

This update has reached 3 days in testing and can be pushed to stable now if the maintainer wishes

4 years ago

This update has been submitted for stable by siwinski.

4 years ago

This update has been pushed to stable.

4 years ago

Please login to add feedback.

Metadata
Type
newpackage
Karma
0
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
disabled
Dates
submitted
4 years ago
in testing
4 years ago
in stable
4 years ago
BZ#1431364 Review Request: php-phpdocumentor-reflection-common - Common reflection classes used by phpdocumentor
0
0
BZ#1431365 Review Request: php-phpdocumentor-type-resolver - A PSR-5 based resolver of Class names, Types and Structural Element Names
0
0
BZ#1442309 Review Request: php-phpdocumentor-reflection-docblock2 - DocBlock parser (Version 2)
0
0
BZ#1442310 Review Request: php-phpdocumentor-reflection1 - Reflection library to do Static Analysis for PHP Projects (Version 1)
0
0

Automated Test Results