NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #314 most downloaded on Packagist
A PHP function to work with private properties and methods
Latest stable
2.2.0
Last release 1 months ago
19 Oct 2026
Release timing varies
gaps range from 9 days to 2.3 years
Nearly every release is documented
notes for 12 of 12 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
12 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Add a PHPStan extension for access through invade($object) , with automatic registration through phpstan/extension-installer and support for PHPStan 1
invade($object), with automatic registration through phpstan/extension-installer and support for PHPStan 1.12 and 2.x.static / $this return types, and subclasses of Invader.Thanks to @SanderMuller for the contribution in #53.
StaticInvader API does not infer member types through this extension.All eight local PHP/dependency combinations pass: 9 Pest tests, 13 assertions, and clean PHPStan source/type checks. The new type regressions produce 9 failures on the original PR implementation and none after the fixes. Extension auto-registration was verified with PHPStan 1 and 2. GitHub Actions remained queued; this release was approved by the maintainer based on local verification.
Full changelog: 2.1.1...2.2.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot [bot] in #35
Full Changelog: 2.1.0...2.1.1
Full Changelog: https://github.com/spatie/invade/compare/2.1.0...2.1.1
update run-tests.yml by @parastooam in #27
Full Changelog: 2.0.0...2.1.0
Full Changelog: https://github.com/spatie/invade/compare/2.0.0...2.1.0
invade without reflection by @enricodelazzari in #24
Full Changelog: 1.1.1...2.0.0
Full Changelog: https://github.com/spatie/invade/compare/1.1.1...2.0.0
Bump dependabot/fetch-metadata from 1.3.1 to 1.3.3 by @dependabot in #13
Full Changelog: 1.1.0...1.1.1
Full Changelog: https://github.com/spatie/invade/compare/1.1.0...1.1.1
Add phpstan support to not report access to private properties/methods by @tpetry in #12
Full Changelog: https://github.com/spatie/invade/compare/1.0.3...1.1.0
Bump dependabot/fetch-metadata from 1.2.0 to 1.2.1 by @dependabot in #8
Full Changelog: 1.0.2...1.0.3
Full Changelog: https://github.com/spatie/invade/compare/1.0.2...1.0.3
Bump dependabot/fetch-metadata from 1.1.1 to 1.2.0 by @dependabot in #6
Full Changelog: 1.0.1...1.0.2
Invador -> Invader spelling by @danharrin in #2
Full Changelog: 1.0.0...1.0.1
- initial release
experimental release
experimental release
One column per quarter.