SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Enum Open-Source Projects
-
Magic Enum C++
Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
hypersistence-utils
The Hypersistence Utils library (previously known as Hibernate Types) gives you Spring and Hibernate utilities that can help you get the most out of your data access layer.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Enumeratum
A type-safe, reflection-free, powerful enumeration implementation for Scala with exhaustive pattern match warnings and helpful integrations.
-
StepSlider
StepSlider its custom implementation of slider such as UISlider for preset integer values.
-
Unrealm
Unrealm is an extension on RealmCocoa, which enables Swift native types to be saved in Realm.
-
cakephp-tools
A CakePHP Tools plugin containing lots of useful helpers, behaviors, components, shells, ...
-
PhpEnums
:nut_and_bolt: Extended PHP 8.1+ enums features & specific integrations with frameworks and libraries
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: What C++ library do you wish existed but hasn’t been created yet? | /r/cpp | 2023-07-08I'm not sure this is quite what you're asking for, but this library has been super helpful to me in the past : https://github.com/Neargye/magic_enum
Suppose we have a Permission enum in our Laravel project, and when an admin assigns a permission to a user, we need to verify if the permission is valid. To accomplish this, we'll create the Permission enum using BenSampo/laravel-enum package:
I really like better_enums instead of magic_enums. There’s no limit on enum size with it: http://aantron.github.io/better-enums/
It was heavily used at a former employer of mine, so definitely a solid production-ready solution.
Project mention: What are some common verbose code patterns in rust and unique ways to reduce the said verbosity? | /r/rust | 2023-07-13Take a look at the strum crate. https://crates.io/crates/strum
Project mention: How to implement `if-else if -else if -else` with cat effect IO in Scala? | /r/scala | 2023-05-16I'm not sure I understand what Cats or cats-effect has to do with what you're trying to do. As far as I can tell, it sounds like what you're asking is simply "what's the best way to implement an enumerated type in Scala?" The best answer to that I'm aware of is Enumeratum.
Project mention: Ten Years of “Go: The Good, the Bad, and the Meh | news.ycombinator.com | 2023-07-18While not perfect, there are ways to generate enums automatically using go:generate, e.g. https://github.com/abice/go-enum
Project mention: Enum: Type safe enums for Go without code generation or reflection | news.ycombinator.com | 2023-08-30
Enum related posts
-
How to Use Laravel Rules
-
What are some common verbose code patterns in rust and unique ways to reduce the said verbosity?
-
What C++ library do you wish existed but hasn’t been created yet?
-
Published my first Crate today to map Environment Variables to Enums
-
How to implement `if-else if -else if -else` with cat effect IO in Scala?
-
Two-way alternative to enum_kinds crate?
-
enum_name (yet another enum to/from string conversion utility >=C++11)
-
A note from our sponsor - SaaSHub
www.saashub.com | 5 May 2024
Index
What are some of the best open-source Enum projects? This list will help you:
Project | Stars | |
---|---|---|
1 | Magic Enum C++ | 4,424 |
2 | php-enum | 2,713 |
3 | hypersistence-utils | 2,265 |
4 | SmartEnum | 2,055 |
5 | laravel-enum | 1,971 |
6 | Enums.NET | 1,650 |
7 | Better Enums | 1,593 |
8 | strum | 1,590 |
9 | Enumeratum | 1,177 |
10 | enum | 743 |
11 | go-enum | 652 |
12 | StatefulEnum | 614 |
13 | ecto_enum | 562 |
14 | StepSlider | 551 |
15 | Unrealm | 537 |
16 | php-enum | 462 |
17 | PowerShell-Red-Team | 462 |
18 | DoctrineEnumBundle | 458 |
19 | enumer | 371 |
20 | cakephp-tools | 337 |
21 | genesis | 330 |
22 | enum | 328 |
23 | PhpEnums | 321 |
Sponsored