Returning PHP Enums as a Laravel collection is easy:

PHP 8.1 adds support for Enumerations. It's even more powerful if you convert it to a Laravel collection.