Download the PHP package xakki/reflection-info without Composer
On this page you can find all versions of the php package xakki/reflection-info. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download xakki/reflection-info
More information about xakki/reflection-info
Files in xakki/reflection-info
Download xakki/reflection-info
More information about xakki/reflection-info
Files in xakki/reflection-info
Vendor xakki
Package reflection-info
Short Description PHP - Reflection information from object
License MIT
Package reflection-info
Short Description PHP - Reflection information from object
License MIT
Please rate this library. Is it a good library?
Informations about the package reflection-info
Reflection Info
A PHP library for deep, recursive analysis of variables, objects, and classes using reflection. It provides a structured and detailed view of your data, making it ideal for debugging, logging, and serialization tasks.
Features
- Recursive Analysis: Traverses nested objects and arrays to build a complete data tree.
- Circular Reference Protection: Detects and handles recursion to prevent infinite loops.
- Depth Control: Allows you to set a maximum depth for the analysis to manage performance and output size.
- Detailed Class Information: Extracts class name, parent class, interfaces, traits, constants, file path, and doc comments.
- Comprehensive Property Details: Gathers property names, visibility, values, static status, and doc comments.
- In-depth Method Analysis: Retrieves method names, visibility, parameters (with types and default values), static/final/abstract status, and doc comments.
- Structured DTOs: Returns the analysis result as a clean and easy-to-navigate tree of Data Transfer Objects (DTOs).
Installation
Install the library using Composer:
Usage
Using the library is straightforward. Instantiate the Analyzer and pass the variable you want to inspect to the analyze() method.
License
This library is licensed under the MIT License.
All versions of reflection-info with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
The package xakki/reflection-info contains the following files
Loading the files please wait ...