whatisgithub

What is reflectioncommon?

phpdocumentor/reflectioncommon — explained in plain English

Analysis updated 2026-06-24

9,063PHPAudience · developerComplexity · 2/5LicenseSetup · easy

In one sentence

ReflectionCommon is a shared PHP library providing common interfaces for reading and analyzing PHP code structure, used internally as a building block by the phpDocumentor documentation generator.

Mindmap

mindmap
  root((ReflectionCommon))
    What it does
      PHP code analysis
      Shared interfaces
      Code structure reading
    Part of
      phpDocumentor
      Reflection libraries
    Usage
      Composer install
      Developer dependency
    License
      MIT open source
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Use as a Composer dependency when building PHP code analysis tools that need standard interfaces for reading PHP code structure.

USE CASE 2

Install via Packagist when developing libraries that integrate with phpDocumentor's reflection ecosystem.

What is it built with?

PHP

How does it compare?

phpdocumentor/reflectioncommonprestashop/prestashopreactphp/reactphp
Stars9,0639,0739,085
LanguagePHPPHPPHP
Setup difficultyeasyhardeasy
Complexity2/54/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min
Use freely for any purpose including commercial, as long as you keep the copyright notice.

So what is it?

ReflectionCommon is a PHP library maintained by the phpDocumentor project, which is a tool for generating documentation from PHP source code. Based on the repository name and organization, this package appears to provide shared interfaces or common building blocks used across phpDocumentor's reflection-related libraries, which are responsible for reading and analyzing PHP code structure. The README for this repository contains only CI status badges and a title. It does not describe what the library does, how to install it, or how to use it. Anyone evaluating this package would need to consult the phpDocumentor documentation or the package's source code directly for that information. The package is available through Packagist, the PHP package registry, and is licensed under the MIT license.

Copy-paste prompts

Prompt 1
I'm building a PHP code analysis tool and want to use ReflectionCommon interfaces. How does this library fit into the phpDocumentor reflection ecosystem?
Prompt 2
How do I install ReflectionCommon via Composer and what interfaces does it provide for PHP code analysis?
Prompt 3
I want to write a phpDocumentor plugin that reads PHP class structure. Where in ReflectionCommon should I start?

Frequently asked questions

What is reflectioncommon?

ReflectionCommon is a shared PHP library providing common interfaces for reading and analyzing PHP code structure, used internally as a building block by the phpDocumentor documentation generator.

What language is reflectioncommon written in?

Mainly PHP. The stack also includes PHP.

What license does reflectioncommon use?

Use freely for any purpose including commercial, as long as you keep the copyright notice.

How hard is reflectioncommon to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is reflectioncommon for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.