NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1467 most downloaded on Packagist
Property accessor and mutator functions.
Latest stable
v2.0.0
Last release 7 months ago
20 Apr 2026
Release timing varies
gaps range from 5 weeks to 5.1 years
Nearly every release is documented
notes for 5 of 5 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
5 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
PropFunc now uses GT\PropFunc and a clearer naming convention for magic property accessors. When upgrading to this major release, rename hooks such as
PropFunc now uses GT\PropFunc and a clearer naming convention for magic property accessors. When upgrading to this major release, rename hooks such as __prop_get_name and __prop_set_name to __propGetName and __propSetName. PHP 8.1 or later is required; the legacy Gt\PropFunc namespace remains autoloadable.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Sometimes it becomes useful to store the value of a class's magic properties internally, so this minor patch release introduced the __prop internal pr
Sometimes it becomes useful to store the value of a class's magic properties internally, so this minor patch release introduced the __prop internal property, which can be access by any class using the MagicProp trait.
PropFunc is heavily used in php.gt/dom due to the reliance on a the W3C specification. There have been minor improvements made since it was integrated
PropFunc is heavily used in php.gt/dom due to the reliance on a the W3C specification. There have been minor improvements made since it was integrated within Dom, so now v1 is being released to allow Dom to get ready for its next stable release.
Have fun!
This release finalises the way private/protected values should be accessed via the magic methods. Now if a class needs one of its public properties ch
This release finalises the way private/protected values should be accessed via the magic methods. Now if a class needs one of its public properties changing to read-only, it can do by making the property private/protected and implementing the magic getter.
The simple functionality of the repository is now tested. The main plans are for using with PHP.Gt/Dom, so before v1 is released it will be battle-tes
The simple functionality of the repository is now tested. The main plans are for using with PHP.Gt/Dom, so before v1 is released it will be battle-tested in a few real world applications.
One column per quarter.