Simple and fast methods to read private properties and call private methods
A small simple library to access private properties of the objects. Actually it's more an example of mad skillz than a useful tool. No Reflection API calls!
composer require sandfoxme/private-access --dev
These four simple functions can come in handy as helpers for something like PsySH
Read full documentation here: https://sandfox.dev/php/private-access.html
Also on Read the Docs: https://php-private-access.readthedocs.io/
Please file issues on our main repo at GitLab: https://gitlab.com/sandfox/php-private-access/-/issues
The library is available as open source under the terms of the MIT License.