Back to Vol 25, Issue 3

PHP Architect · Vol 25, Issue 3 · March 2026

Augmenting Valinor with Property Hooks

Each release of PHP bring new capabilities to enhance our capabilities or reduce boilerplate code. PHP 8.4 introduced property hooks for handling getting and setting object properties without having to create a ton of getter and setter methods. This month, we'll see how we can add these features to our Spacetraders client. First, we upgrade Valinor, update Docker to support PHP 8.4, learn how property hooks work, and then use Rector to automatically add them to value objects.

The full article is in PHP Architect Vol 25, Issue 3. Subscribe to read it and every new issue.

Subscribe

Our Partners

Collaborating with industry leaders to bring you the best PHP resources and expertise

Interested in partnering? Get in touch →