Skip to content

Commit 4a15f6a

Browse files
authored
Added more existing solutions
1 parent 1b8a597 commit 4a15f6a

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,20 @@ class SomeClass
215215
See complete example in [examples/serialization_php74.php](examples/serialization_php74.php).
216216

217217
## Existing solutions
218-
* https://github.com/myclabs/php-enum
219-
* https://github.com/marc-mabe/php-enum
220-
* https://www.php.net/manual/en/class.splenum.php
221-
* https://github.com/spatie/enum
218+
Libraries:
219+
* https://github.com/myclabs/php-enum (~1200 stars)
220+
* https://github.com/BenSampo/laravel-enum (~700 stars)
221+
* https://github.com/marc-mabe/php-enum (~300 stars)
222+
* https://github.com/spatie/enum (~200 stars)
223+
* https://github.com/Elao/PhpEnums (~100 stars)
224+
* https://github.com/consistence/consistence#enums-and-multienums (~100 stars)
225+
* https://github.com/mad-web/laravel-enum (~80 stars)
226+
* https://github.com/greg0ire/enum (~40 stars)
222227
* https://github.com/grifart/enum
223-
* https://github.com/consistence/consistence#enums-and-multienums
224228
* https://github.com/zlikavac32/php-enum
229+
230+
PHP native:
231+
* https://www.php.net/manual/en/class.splenum.php
225232
* [PHP RFC: Enumerated Types](https://wiki.php.net/rfc/enum)
226233

227234
(there are a lot of [other PHP implementations](https://packagist.org/search/?query=php-enum))

0 commit comments

Comments
 (0)