marc-mabe/php-enum
Native PHP enum implementation via an abstract base class. Extend it to define enumerations from public constants (supports scalars, null, and arrays), create and compare enum instances, and keep a strict set of named values for safer domain modeling.
|
Person
|
Packages
|
Contributions
|
Followers
|
|
|---|---|---|---|---|
|
marc-mabe
@marc-mabe |
85 | 4,568 | 90 |
View on GitHub
|
|
prolic
@prolic |
104 | 2,562 | 198 |
View on GitHub
|
|
Ocramius
@Ocramius |
187 | 44,800 | 4,365 |
View on GitHub
|
|
MURAKAMI Shunsuke
@shmurakami |
2 | 4 | 8 |
View on GitHub
|
|
Jérémy DECOOL
@jdecool |
51 | 106 | 136 |
View on GitHub
|
|
ADmad
@ADmad |
33 | 9,734 | 428 |
View on GitHub
|
|
Jacob Dreesen
@jdreesen |
87 | 504 | 89 |
View on GitHub
|
|
Lctrs
@Lctrs |
45 | 372 | 45 |
View on GitHub
|
|
Darryl Hein
@darrylhein |
15 | 16 | 8 |
View on GitHub
|
|
Danny van der Sluijs
@DannyvdSluijs |
30 | 165 | 40 |
View on GitHub
|
|
sanmai
@sanmai |
44 | 1,546 | 87 |
View on GitHub
|
|
Armando Lüscher
@noplanman |
12 | 13 | 192 |
View on GitHub
|
|
chris
@Chris53897 |
157 | 721 | 7 |
View on GitHub
|
|
TuxCoder
@TuxCoder |
1 | 1 | 23 |
View on GitHub
|
|
Maxime Aubaret
@maximeaubaret |
1 | 1 | 39 |
View on GitHub
|
|
Maciej Mączko
@maczkomaciej |
1 | 1 | 0 |
View on GitHub
|
|
Kévin LE LOUËR
@kevinlelo |
3 | 4 | 3 |
View on GitHub
|
|
Ihon
@Ihon |
1 | 1 | 6 |
View on GitHub
|
|
Gary Jones
@GaryJones |
34 | 1,065 | 625 |
View on GitHub
|
How can I help you explore Laravel packages today?