awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
phpDocumentor avatar

phpDocumentor/ReflectionCommon

0
View on GitHub↗
9,058 stars·21 forks·PHP·MIT·12 views

ReflectionCommon

ReflectionCommon is a PHP reflection interface library and code analysis abstraction. It serves as a foundation for static analysis by providing a shared specification for representing classes, methods, and properties during programmatic code inspection.

The project standardizes the reflection API to decouple analysis tools from specific PHP reflection implementations. This ensures that different analysis implementations can work interchangeably through a consistent layer of interfaces.

The library covers the domain of PHP code analysis and static analysis tooling, establishing a common way to examine code layouts and metadata.

Features

  • PHP Code Analysis - Provides a standardized way to analyze PHP source code structures to ensure consistent results across different tools.
  • Code Analysis APIs - Provides programmatic interfaces to examine code layouts consistently regardless of the underlying implementation.
  • Reflection Abstractions - Defines a common set of reflection contracts to decouple code analysis tools from specific language details.
  • PHP Reflection Libraries - Provides a set of standardized interfaces for analyzing code structures and metadata using PHP reflection.
  • Reflection API Standardizations - Creates a consistent layer over PHP reflection to allow different analysis implementations to work interchangeably.
  • Reflection Abstraction Layers - Implements a common layer that decouples code analysis tools from specific PHP reflection implementations.
  • Implementation-Agnostic APIs - Provides a uniform API for querying code structures that remains independent of the underlying reflection engine implementation.
  • Static Code Analysis Tools - Provides a common representation of classes and methods for software that examines code without executing it.
  • Reflection Interface Contracts - Enforces a strict set of interface requirements to ensure consistent behavior across different reflection providers.
  • Type Hierarchies - Establishes a base set of classes and interfaces that provide a consistent type hierarchy for reflection-based tools.
  • Static Analysis Specifications - Provides a shared specification for representing classes, methods, and properties during programmatic code inspection.

Star history

Star history chart for phpdocumentor/reflectioncommonStar history chart for phpdocumentor/reflectioncommon

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does phpdocumentor/reflectioncommon do?

ReflectionCommon is a PHP reflection interface library and code analysis abstraction. It serves as a foundation for static analysis by providing a shared specification for representing classes, methods, and properties during programmatic code inspection.

What are the main features of phpdocumentor/reflectioncommon?

The main features of phpdocumentor/reflectioncommon are: PHP Code Analysis, Code Analysis APIs, Reflection Abstractions, PHP Reflection Libraries, Reflection API Standardizations, Reflection Abstraction Layers, Implementation-Agnostic APIs, Static Code Analysis Tools.

What are some open-source alternatives to phpdocumentor/reflectioncommon?

Open-source alternatives to phpdocumentor/reflectioncommon include: nunomaduro/phpinsights — PhpInsights is a static analysis tool and code quality analyzer for PHP. It evaluates source code to identify bugs,… sebastianbergmann/php-token-stream — php-token-stream is a lexical analysis tool and tokenizer wrapper for PHP. It functions as a source code streamer that… doctrine/annotations — This project is a PHP docblock annotation parser and reflection metadata tool designed to extract structured metadata… theseer/tokenizer — This library is a PHP source code tokenizer and static analysis tool that converts raw PHP code into discrete tokens… felixfbecker/php-language-server — This project is a backend service that implements the Language Server Protocol to provide IDE-integrated intelligence… friendsofphp/php-cs-fixer — PHP-CS-Fixer is a static analysis tool and code style linter designed to validate PHP code against predefined…

Open-source alternatives to ReflectionCommon

Similar open-source projects, ranked by how many features they share with ReflectionCommon.
  • nunomaduro/phpinsightsnunomaduro avatar

    nunomaduro/phpinsights

    5,607View on GitHub↗

    PhpInsights is a static analysis tool and code quality analyzer for PHP. It evaluates source code to identify bugs, style violations, and technical debt without executing the application. The tool functions as a complexity metric utility, calculating architectural and cyclomatic complexity to locate overly complicated logic. It measures overall software health and maintainability by comparing code against industry standards. The system manages technical debt through rule-based validation and metric-driven scoring. It uses a static analysis engine to parse source code, delivering the results

    PHP
    View on GitHub↗5,607
  • sebastianbergmann/php-token-streamsebastianbergmann avatar

    sebastianbergmann/php-token-stream

    6,386View on GitHub↗

    php-token-stream is a lexical analysis tool and tokenizer wrapper for PHP. It functions as a source code streamer that reads tokens one by one, preventing the need to load entire source files into memory. The project provides memory-efficient parsing by wrapping the native PHP tokenizer extension. This allows for the sequential processing of source code tokens to analyze structural components and syntax. The tool is designed for static code analysis and the development of compiler tooling. It supports linear token processing and sequential traversal to examine language constructs and project

    PHP
    View on GitHub↗6,386
  • doctrine/annotationsdoctrine avatar

    doctrine/annotations

    6,738View on GitHub↗

    This project is a PHP docblock annotation parser and reflection metadata tool designed to extract structured metadata from doc-comments and convert them into class instances. It functions as a system for retrieving and managing custom metadata attached to classes, methods, and properties. The library includes a metadata caching system to store parsed results, which reduces the performance overhead associated with repeated reflection calls and string parsing. It also serves as a static analysis utility for validating source code structure and enforcing coding standards through automated docblo

    PHP
    View on GitHub↗6,738
  • felixfbecker/php-language-serverfelixfbecker avatar

    felixfbecker/php-language-server

    1,193View on GitHub↗

    This project is a backend service that implements the Language Server Protocol to provide IDE-integrated intelligence for PHP development. It functions as a static analysis tool that parses source code to enable advanced editor features, including autocompletion, symbol navigation, and definition resolution. The server distinguishes itself through its ability to operate within isolated containers and remote development environments. By utilizing a virtual file system abstraction and flexible communication protocols, it maintains project-wide symbol indexing and code analysis even when files a

    PHPautocompletecode-analysiside
    View on GitHub↗1,193
  • See all 30 alternatives to ReflectionCommon→