PHP 8.6 SortDirection Enum: Stop Passing 'ASC' and 'DESC' Strings Around October 27, 2026 php php-8-6 enums clean-code PHP 8.6 adds a global SortDirection enum. See how to replace ASC/DESC strings in query builders and sorters, and how to polyfill it on PHP 8.1 and up. Read more →
PHP 8.4 Property Hooks: Cleaner Object APIs Without Magic Methods April 27, 2026 php php84 oop property-hooks clean-code value-objects laravel symfony PHP 8.4 property hooks let you intercept property reads and writes directly — no more boilerplate getters, setters, or fragile magic methods. Read more →
The PHP 8.5 Pipe Operator April 12, 2026 php php-85 pipe-operator clean-code functional-programming PHP 8.5's pipe operator (|>) is here, and it's quietly transforming how we write data transformation chains. Read more →