suin/php-expose
Expose helps PHPUnit tests access private/protected properties and methods in PHP objects. Use a simple fluent API to set non-public attributes and call hidden methods without changing production code. Requires PHP 5.3+ and installs via Composer.
📦 Makes non-public properties and methods be testable to help your unit tests with PHPUnit.
How can I help you explore Laravel packages today?