Model States with PHP Backed Enums (and Escape the Magic-String Trap)
Replace scattered magic string…
Notes, tutorials, and post-mortems on the things I build and break.
Replace scattered magic string…
PHP 8.1 enums give you type-sa…
The problem with raw status st…