Php Enum Helper Trait
-
Updated
Apr 24, 2024 - PHP
Php Enum Helper Trait
Integrate enum based statuses to Laravel models
Simple and fast implementation of enumerations with native PHP
A custom Doctrine type that maps column values to enum objects using myclabs/php-enum
Implementation of enumeration classes in PHP. The better alternative for enums
Adds some helpful enum traits to the glorious new PHP Enum type, like value lists and value arrays.
Компонент для работы с пользовательскими константами в PHP
⚡ PHP Enum. One advantage over using class constants is to be able to use an enum as a parameter type
PHPEnum is an enumeration class library for PHP developers. The idea comes from Java enumeration, and using the PHP features to implement single-value enumeration and multi-value enumeration.
Add a description, image, and links to the php-enum topic page so that developers can more easily learn about it.
To associate your repository with the php-enum topic, visit your repo's landing page and select "manage topics."