sebastian/object-reflector
sebastian/object-reflector lets you reflect an object's properties, including inherited, private, and protected ones. Install it via Composer to inspect and access object state that PHP's default reflection utilities don't easily expose.
Allows reflection of object properties, including inherited and private as well as protected ones.
You can add this library as a local, per-project dependency to your project using Composer:
composer require sebastian/object-reflector
If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:
composer require --dev sebastian/object-reflector
How can I help you explore Laravel packages today?