Category

PHP

PHP 8.4's Property Hooks Explained

Learn PHP 8.4 property hooks with practical examples — replace boilerplate getters and setters, add inline validation, and build self-enforcing value objects with virtual properties and asymmetric visibility.

· 9 min read

Building a PHP Package from Scratch

Learn how to build, test, and publish a PHP package from scratch — from directory structure and PSR-4 autoloading to PHPUnit tests and Packagist.

· 4 min read