Git Stars Git Stars

#enum Repositories

Discover 17 active open source GitHub repositories tagged with #enum, accumulating 28,568 total stars (averaging 1,680 stars per project). Leading this topic is Neargye/magic_enum with 6,256 stars.

17
Total Repositories
28,568
Total Stars
1,680
Avg Stars/Repo
1
Neargye/magic_enum

Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code

Neargye
โญ 6,256 C++ ๐Ÿ‘ค Neargye User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2019-03-30
2
myclabs/php-enum

The enum PHP is missing, inspired from SplEnum

myclabs
โญ 2,728 PHP ๐Ÿ‘ค myclabs Organization ๐Ÿ• Updated 2025-02-21 ๐Ÿ“… Created 2013-01-23
3
vladmihalcea/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.

vladmihalcea
โญ 2,671 Java ๐Ÿ‘ค vladmihalcea User ๐Ÿ• Updated 2026-11-03 ๐Ÿ“… Created 2017-09-25
4
Peternator7/strum

A small rust library for adding custom derives to enums

Peternator7
โญ 2,479 Rust ๐Ÿ‘ค Peternator7 User ๐Ÿ• Updated 2026-10-25 ๐Ÿ“… Created 2017-02-05
5
ardalis/SmartEnum

A base class for quickly and easily creating strongly typed enum replacements in C#.

ardalis
โญ 2,449 C# ๐Ÿ‘ค ardalis User ๐Ÿ• Updated 2026-11-19 ๐Ÿ“… Created 2017-12-01
6
BenSampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

BenSampo
โญ 2,027 PHP ๐Ÿ‘ค BenSampo User ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2017-09-07
7
TylerBrinkley/Enums.NET

Enums.NET is a high-performance type-safe .NET enum utility library

TylerBrinkley
โญ 1,832 C# ๐Ÿ‘ค TylerBrinkley User ๐Ÿ• Updated 2025-10-05 ๐Ÿ“… Created 2015-08-29
8
aantron/better-enums

C++ compile-time enum to string, iteration, in a single header file

aantron
โญ 1,805 C++ ๐Ÿ‘ค aantron User ๐Ÿ• Updated 2024-02-10 ๐Ÿ“… Created 2015-05-11
9
lloydmeta/enumeratum

A type-safe, reflection-free, powerful enumeration implementation for Scala with exhaustive pattern match warnings and helpful integrations.

lloydmeta
โญ 1,224 Scala ๐Ÿ‘ค lloydmeta User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2014-12-05
10
abice/go-enum

An enum generator for go

abice
โญ 961 Go ๐Ÿ‘ค abice User ๐Ÿ• Updated 2026-11-09 ๐Ÿ“… Created 2017-08-10
11
spatie/enum

Strongly typed enums in PHP supporting autocompletion and refactoring

spatie
โญ 856 PHP ๐Ÿ‘ค spatie Organization ๐Ÿ• Updated 2026-11-05 ๐Ÿ“… Created 2019-02-07
12
amatsuda/stateful_enum

A very simple state machine plugin built on top of ActiveRecord::Enum

amatsuda
โญ 633 Ruby ๐Ÿ‘ค amatsuda User ๐Ÿ• Updated 2025-12-25 ๐Ÿ“… Created 2016-03-15
13
gjaldon/ecto_enum

Ecto extension to support enums in models

gjaldon
โญ 569 Elixir ๐Ÿ‘ค gjaldon User ๐Ÿ• Updated 2024-05-28 ๐Ÿ“… Created 2015-07-07
14
matghazaryan/Unrealm

Unrealm is an extension on RealmCocoa, which enables Swift native types to be saved in Realm.

matghazaryan
โญ 535 Swift ๐Ÿ‘ค matghazaryan User ๐Ÿ• Updated 2024-08-31 ๐Ÿ“… Created 2019-06-01
15
dmarkham/enumer

A Go tool to auto generate methods for your enums

dmarkham
โญ 524 Go ๐Ÿ‘ค dmarkham User ๐Ÿ• Updated 2026-10-03 ๐Ÿ“… Created 2019-04-03
16
xin9le/FastEnum

The world's fastest enum utilities for C#/.NET

xin9le
โญ 520 C# ๐Ÿ‘ค xin9le User ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2019-09-03
17
marc-mabe/php-enum

Simple and fast implementation of enumerations with native PHP

marc-mabe
โญ 500 PHP ๐Ÿ‘ค marc-mabe User ๐Ÿ• Updated 2026-02-09 ๐Ÿ“… Created 2012-08-18

Frequently Asked Questions

1

What is the most popular #enum repository on GitHub?

The top ranked open source #enum project on GitHub is Neargye/magic_enum with 6,256 stars. Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code

2

Which programming languages are most used in #enum repositories?

Among the top ranked #enum projects on GitHub, the most common programming languages are PHP, C#, C++, Go.

3

How is the #enum repository ranking calculated?

We track 17 active open source repositories tagged with #enum (500+ stars), totaling 28,568 stars with an average of 1,680 stars per repository. Rankings update daily from the GitHub API.