Libraries tagged by backed-enums
php-standard-library/locale
233130 Downloads
Backed enum with 700+ locale identifiers for type-safe internationalization
foxbytehq/laravel-backed-enums
2837 Downloads
Supercharge your PHP8 backed enums with superpowers like localization support and fluent comparison methods.
webfox/laravel-backed-enums
17073 Downloads
Supercharge your PHP8 backed enums with superpowers like localization support and fluent comparison methods.
ui-awesome/html-interop
60391 Downloads
Shared backed enums classifying HTML elements by category (block, inline, list, table, void, metadata, root) for the UI Awesome ecosystem.
osama-98/laravel-enum-translatable
2269 Downloads
A Laravel package that provides translatable enum functionality with easy-to-use methods for working with enum values and their translations
ui-awesome/html-attribute
52342 Downloads
Type-safe traits and backed enums for HTML attribute composition: global attributes, ARIA, data-*, events, and element-specific setters.
sinemacula/http-primitives-php
819 Downloads
Standalone, framework-agnostic PHP 8.3+ package providing typed backed enums for HTTP protocol primitives with zero runtime dependencies.
php-common-enums/mime-type
19889 Downloads
Provides a backed enum for MIME types
php-common-enums/country
6164 Downloads
Provides a backed enum for countries
bensondevs/supercharged-enums
1835 Downloads
Supercharged backed enum helpers (find, options, comparisons) with no framework dependencies.
vkollin/doctrine-backed-enum-fields-bundle
25633 Downloads
Provides truly support for backed enums in doctrine by generating enum fields, not string fields.
fast-forward/enum
296 Downloads
Ergonomic utilities for PHP enums, including names, values, lookups, and option maps.
dev-toolbelt/enums
2153 Downloads
A shared set of open-source enums for frequently used domains, helping reduce duplication and improve consistency across software projects.
php-common-enums/http-response-code
5863 Downloads
Provides a backed enum for HTTP response codes
cspray/yape
1738 Downloads
Type-safe, object-backed enum implementation in userland PHP.