Download the PHP package spatie/invade without Composer
On this page you can find all versions of the php package spatie/invade. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
More information about spatie/invade
Files in spatie/invade
Informations about the package invade
A PHP function to access private properties and methods
This package offers an
invade function that will allow you to read/write private properties of an object. It will also allow you to call private methods.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
You can install the package via composer:
Imagine you have this class defined which has a private property and method.
This is how you can get the value of the private property using the
invade function also allows you to change private values.
invade you can also call private functions.
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
- Freek Van der Herten
- All Contributors
And a special thanks to Caneco for the logo ✨
The MIT License (MIT). Please see License File for more information.