Using PHP 8.1 enumerations in Symfony
Symfony 5.4/6.0 is supporting them since day one
I’ve been involved in the addition of enumerations support in the Symfony framework. Why? Because I’m mad at love with this new feature. I waited them for years in PHP. And I also love to contribute to the framework, so why not blend these two pleasures?