PHPackages                             darling/php-reflection-utilities - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. darling/php-reflection-utilities

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

darling/php-reflection-utilities
================================

A collection of php classes that can be used to aide in reflection with PHP

v1.1.2(2y ago)11.3k↓45.5%[1 issues](https://github.com/sevidmusic/PHPReflectionUtilities/issues)2MITPHPPHP ^8.1

Since Feb 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sevidmusic/PHPReflectionUtilities)[ Packagist](https://packagist.org/packages/darling/php-reflection-utilities)[ RSS](/packages/darling-php-reflection-utilities/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (16)Used By (2)

PHPReflectionUtilities
======================

[](#phpreflectionutilities)

A collection of php classes that can be used to aide in reflection with PHP.

This library makes use of the following libraries:

[Darling\\PHPUnitTestUtilities](https://github.com/sevidmusic/PHPUnitTestUtilities)

[Darling\\PHPTextTypes](https://github.com/sevidmusic/PHPTextTypes)

Overview
========

[](#overview)

- [Installation](#installation)
- [Classes](#classes)

    - [Darling\\PHPReflectionUtilities\\classes\\utilities\\Reflection](#darlingphpreflectionutilitiesclassesutilitiesreflection)
    - [Darling\\PHPReflectionUtilities\\classes\\utilities\\ObjectReflection](#darlingphpreflectionutilitiesclassesutilitiesobjectreflection)

Installation
============

[](#installation)

```
composer require darling/php-reflection-utilities

```

Classes
=======

[](#classes)

The following classes are provided by the PHPReflectionUtilities library.

These classes can be used as is, or extended.

### [Darling\\PHPReflectionUtilities\\classes\\utilities\\Reflection](https://github.com/sevidmusic/PHPReflectionUtilities/blob/main/src/classes/utilities/Reflection.php)

[](#darlingphpreflectionutilitiesclassesutilitiesreflection)

A Reflection can be used to get information about a reflected class or object instance.

For example:

```
