Libraries tagged by php enum
adam-lutka/php-enum
5178 Downloads
PHP implementation of enum type
freshp/php-enumeration
29522 Downloads
This small package can represent a enumeration field. For example in a database or an api.
vicgutt/php-enhanced-enum
1398 Downloads
Enhances PHP's native enums with convenient methods
muffe/enum-constraint
3694 Downloads
A Symfony Validator constraint that validates if given strings are valid cases in a given PHP 8 Enum
tutnichts/php-to-js-enum
1216 Downloads
rocksheep/enum-helpers
411 Downloads
A collection of helper functions for working with enums in PHP
returnearly/laravel-enums
3756 Downloads
A helper package for PHP 8.1+ enums for Laravel.
marc-mabe/enum-cl
3561 Downloads
Compatibility layer for emulating enumerations in PHP < 8.1 and native enumerations in PHP >= 8.1
leocello/sweet-enum
71 Downloads
Provides the ability to declare "properties" to enums using PHP Attributes, also to define classes for specific case functionalities and much more.
jac/enums
5141 Downloads
Php implementation of Enums
framjet/enum-bitmask
539 Downloads
A small library that provides functionality to PHP 8.1 enums to act as BitMask flags
emulgeator/enum
3901 Downloads
A very simple library allowing you to define enums in PHP
brokeyourbike/http-enums
2752 Downloads
HTTP related enums for PHP
wirus15/enum
7100 Downloads
A simple PHP library for creating enum objects.
richard-ejem/enum
3384 Downloads
Ultralightweight enum type for PHP